AbortExceptionFilter
Defined in: abort-exception.filter.ts:10
Maps AbortError to HTTP: client disconnects get no response (nobody is listening), everything else (timeouts, manual aborts) becomes 408 Request Timeout.
Implements
Section titled “Implements”ExceptionFilter
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AbortExceptionFilter(
adapterHost):AbortExceptionFilter
Defined in: abort-exception.filter.ts:11
Parameters
Section titled “Parameters”adapterHost
Section titled “adapterHost”HttpAdapterHost
Returns
Section titled “Returns”AbortExceptionFilter
Methods
Section titled “Methods”catch()
Section titled “catch()”catch(
error,host):void
Defined in: abort-exception.filter.ts:13
Method to implement a custom exception filter.
Parameters
Section titled “Parameters”ArgumentsHost
used to access an array of arguments for the in-flight request
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”ExceptionFilter.catch