Skip to content

Taxum / @taxum/core / util / defaultErrorHandler

Function: defaultErrorHandler()

defaultErrorHandler(error): HttpResponse

Defined in: util/eror-handler.ts:16

The default error handler which converts any error into a response.

Parameters

error

unknown

Returns

HttpResponse