UNPKG

@intuitionrobotics/ts-common

Version:
14 lines 619 B
import { Dispatcher } from "./dispatcher.js"; 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>; //# sourceMappingURL=error-handling.d.ts.map