1 | import { ErrorRequestHandler, RequestHandler } from 'express';
|
2 | export declare function notFound({ verbose }?: {
|
3 | verbose?: boolean;
|
4 | }): RequestHandler;
|
5 | export type ErrorHandlerOptions = {
|
6 | public?: string;
|
7 | logger?: boolean | {
|
8 | error?: (msg: any) => void;
|
9 | info?: (msg: any) => void;
|
10 | };
|
11 | html?: any;
|
12 | json?: any;
|
13 | };
|
14 | export declare function errorHandler(_options?: ErrorHandlerOptions): ErrorRequestHandler;
|