12 lines
322 B
TypeScript
Vendored
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;
|