tovarish-relayer/lib/services/error.d.ts
2024-11-13 01:42:13 +00:00

12 lines
322 B
TypeScript
Vendored

import { NetIdType } from '@tornado/core';
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;