sardines-utils
Version:
Test cases for sardines.js
9 lines • 412 B
TypeScript
export interface UnifiedErrorMessage {
error: any;
type: string;
subType: string;
[key: string]: any;
}
export declare const unifyErrMesg: (err: any, type?: string, subType?: string) => UnifiedErrorMessage;
export declare const unifyAsyncHandler: (type: string, subType: string, handler: any, thisObj?: any, msg?: string) => (...params: any[]) => Promise<any>;
//# sourceMappingURL=unify.d.ts.map