Type alias AuthErrorHandler<Request, Response>
Auth
Error
Handler
<Request, Response>: ((req
: Request, res
: Response, error
: APIError) => unknown | Promise<unknown>)
Type declaration
-
- (req: Request, res: Response, error: APIError): unknown | Promise<unknown>
-
Parameters
-
req: Request
-
res: Response
-
Returns unknown | Promise<unknown>