UNPKG

nephele

Version:

Highly customizable and extensible WebDAV server for Node.js and Express.

2 lines (1 loc) 223 B
export declare function catchErrors<A extends any[], R = void>(fn: (...args: A) => Promise<R>, errorHandler: (code: number, message: string, error: Error, args: A) => Promise<void>): (...args: A) => Promise<R | undefined>;