UNPKG

@powership/server

Version:
34 lines (33 loc) 1.22 kB
export declare const NotImplementedError: { new (message?: string, details?: any, shouldPublishStack?: false): { __$name__: string; errorGroup: string; readonly $kind: string; __originalStack: string; identify: (name: string) => any; publicErrorMessage: string | undefined; publish: (message?: string) => any; name: string; message: string; stack?: string; cause?: unknown; }; is: (item: any) => item is { __$name__: string; errorGroup: string; readonly $kind: string; __originalStack: string; identify: (name: string) => any; publicErrorMessage: string | undefined; publish: (message?: string) => any; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; export declare function throwNotImplemented(values: Record<string, any>): void;