2024-12-23 21:26:45 +00:00
|
|
|
import { NetIdType } from 'tornado-scripts';
|
2024-11-13 01:42:13 +00:00
|
|
|
export interface ErrorTypes {
|
|
|
|
type: string;
|
|
|
|
netId: number;
|
|
|
|
timestamp: number;
|
|
|
|
}
|
|
|
|
export interface ErrorMessages extends ErrorTypes {
|
|
|
|
message?: string;
|
|
|
|
stack?: string;
|
|
|
|
}
|
|
|
|
export declare function newError(type: string, netId: NetIdType, err: any): ErrorMessages;
|