Type alias AuthErrorHandler<Request, Response>

AuthErrorHandler<Request, Response>: ((req: Request, res: Response, error: APIError) => unknown | Promise<unknown>)

Type Parameters

Type declaration

    • (req: Request, res: Response, error: APIError): unknown | Promise<unknown>
    • Parameters

      • req: Request
      • res: Response
      • error: APIError

      Returns unknown | Promise<unknown>

Generated using TypeDoc