Skip to content

openpra-monorepo


Class: HttpExceptionFilter

Defined in: http-exception.filter.ts:4

Implements

  • ExceptionFilter

Constructors

Constructor

new HttpExceptionFilter(): HttpExceptionFilter

Returns

HttpExceptionFilter

Methods

catch()

catch(exception, host): void

Defined in: http-exception.filter.ts:5

Method to implement a custom exception filter.

Parameters

exception

HttpException

the class of the exception being handled

host

ArgumentsHost

used to access an array of arguments for the in-flight request

Returns

void

Implementation of

ExceptionFilter.catch