Skip to content

HttpErrorHandler

type HttpErrorHandler = (err: FlareError | Error, context: HttpErrorContext, scope: HandlerScope) => ResponseLike | void | Promise<ResponseLike | void>

Inline error-handler function signature. Scope note: see HttpBeforeHandler.

Learn: Inline error handlers

Last updated: