@intuitionrobotics/ts-common
Version:
14 lines (13 loc) • 572 B
TypeScript
import { Dispatcher } from "./dispatcher";
export declare enum ServerErrorSeverity {
Debug = "Debug",
Info = "Info",
Warning = "Warning",
Error = "Error",
Critical = "Critical"
}
export declare const ServerErrorSeverity_Ordinal: ServerErrorSeverity[];
export interface OnApplicationError {
__processApplicationError(errorLevel: ServerErrorSeverity, message: string): Promise<void>;
}
export declare const dispatch_onServerError: Dispatcher<OnApplicationError, "__processApplicationError", [errorLevel: ServerErrorSeverity, message: string], void>;