src/common/interceptors/handlers/exception.handler.ts
Interface for Exception Handlers
Methods |
handle | ||||||
handle(error: Error)
|
||||||
Function to handle specific error types
Parameters :
Returns :
void
|
export interface ExceptionHandler {
/** Function to handle specific error types */
handle(error: Error): void;
}