Variable errorHandlerConst
errorHandler: () => (
err: any,
req: Request,
res: Response,
next: NextFunction,
) => Promise<void> = ExpressWrapper.errorHandler
Type declaration
- (): (err: any, req: Request, res: Response, next: NextFunction) => Promise<void>
Returns (err: any, req: Request, res: Response, next: NextFunction) => Promise<void>