Search
Preparing search index...
The search index is not available
@nestjs/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ExceptionsHandler
Class ExceptionsHandler
Hierarchy
BaseExceptionFilter
ExceptionsHandler
Implements
ExceptionFilter
<
any
>
Index
Constructors
constructor
Properties
application
Ref
filters
http
Adapter
Host
Methods
catch
handle
Unknown
Error
invoke
Custom
Filters
is
Exception
Object
next
set
Custom
Filters
Constructors
constructor
new
Exceptions
Handler
(
applicationRef
?:
HttpServer
)
:
ExceptionsHandler
Parameters
Optional
applicationRef:
HttpServer
Returns
ExceptionsHandler
Properties
Protected
Optional
Readonly
application
Ref
application
Ref
:
HttpServer
Private
filters
filters
:
ExceptionFilterMetadata
[]
= []
Protected
Optional
Readonly
http
Adapter
Host
http
Adapter
Host
:
HttpAdapterHost
Methods
catch
catch
(
exception
:
any
, host
:
ArgumentsHost
)
:
void
Parameters
exception:
any
host:
ArgumentsHost
Returns
void
handle
Unknown
Error
handle
Unknown
Error
(
exception
:
any
, host
:
ArgumentsHost
, applicationRef
:
AbstractHttpAdapter
|
HttpServer
)
:
void
Parameters
exception:
any
host:
ArgumentsHost
applicationRef:
AbstractHttpAdapter
|
HttpServer
Returns
void
invoke
Custom
Filters
invoke
Custom
Filters<T>
(
exception
:
T
, ctx
:
ArgumentsHost
)
:
boolean
Type parameters
T =
any
Parameters
exception:
T
ctx:
ArgumentsHost
Returns
boolean
is
Exception
Object
is
Exception
Object
(
err
:
any
)
:
err
is
Error
Parameters
err:
any
Returns
err
is
Error
next
next
(
exception
:
Error
|
HttpException
|
any
, ctx
:
ArgumentsHost
)
:
void
Parameters
exception:
Error
|
HttpException
|
any
ctx:
ArgumentsHost
Returns
void
set
Custom
Filters
set
Custom
Filters
(
filters
:
ExceptionFilterMetadata
[]
)
:
void
Parameters
filters:
ExceptionFilterMetadata
[]
Returns
void
Globals
Exceptions
Handler
constructor
application
Ref
filters
http
Adapter
Host
catch
handle
Unknown
Error
invoke
Custom
Filters
is
Exception
Object
next
set
Custom
Filters
Generated using
TypeDoc