Skip to content
Buy me a coffee

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.

  • ExceptionFilter

new AbortExceptionFilter(adapterHost): AbortExceptionFilter

Defined in: abort-exception.filter.ts:11

HttpAdapterHost

AbortExceptionFilter

catch(error, host): void

Defined in: abort-exception.filter.ts:13

Method to implement a custom exception filter.

AbortError

ArgumentsHost

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

void

ExceptionFilter.catch