BeforeErrorHooktype BeforeErrorHook = (error: HTTPError) => HTTPError | Promise<HTTPError>;§Type§(error: HTTPError) => HTTPError | Promise<HTTPError>[src]