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
| Parameter | Type | Description |
|---|---|---|
exception | Error | The exception thrown |
context | ExceptionContext | The request context |
Returns
any