UNPKG

sardines-utils

Version:
9 lines 412 B
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