UNPKG

@nesvet/n

Version:
13 lines 367 B
type MongoServerError = { errorResponse: { errmsg: string; errInfo?: { [key: string]: any; }; }; [key: string]: any; }; export declare function handleMongoError<E extends MongoServerError>(error: E): E; export declare function handleMongoError(error: any): any; export {}; //# sourceMappingURL=handleMongoError.d.ts.map