Skip to content

Interface: ExceptionFilter

Defined in: packages/core/src/exceptions/exceptions.filter.ts:15

Interface for exception filters

Methods

catch()

ts
catch(exception, context): any;

Defined in: packages/core/src/exceptions/exceptions.filter.ts:21

Method to catch and handle exceptions

Parameters

ParameterTypeDescription
exceptionErrorThe exception thrown
contextExceptionContextThe request context

Returns

any

Released under the MIT License.