File

src/common/interceptors/handlers/exception.handler.ts

Description

Interface for Exception Handlers

Index

Methods

Methods

handle
handle(error: Error)

Function to handle specific error types

Parameters :
Name Type Optional
error Error No
Returns : void
export interface ExceptionHandler {
  /** Function to handle specific error types */
  handle(error: Error): void;
}

results matching ""

    No results matching ""