Taxum / @taxum/core / util / CatchErrorLayer
Class: CatchErrorLayer
Defined in: util/catch-error.ts:9
A Layer that produces CatchError services.
Implements
Constructors
Constructor
new CatchErrorLayer():
CatchErrorLayer
Returns
CatchErrorLayer
Methods
layer()
layer(
inner
):HttpService
Defined in: util/catch-error.ts:10
Wrap the given service with the middleware, returning a new service that has been decorated with the middleware.