Search
Preparing search index...
The search index is not available
@nestjs/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
BaseExceptionFilter
Class BaseExceptionFilter<T>
Type parameters
T =
any
Hierarchy
BaseExceptionFilter
ExceptionsHandler
Implements
ExceptionFilter
<
T
>
Index
Constructors
constructor
Properties
application
Ref
http
Adapter
Host
logger
Methods
catch
handle
Unknown
Error
is
Exception
Object
Constructors
constructor
new
Base
Exception
Filter
(
applicationRef
?:
HttpServer
)
:
BaseExceptionFilter
Parameters
Optional
applicationRef:
HttpServer
Returns
BaseExceptionFilter
Properties
Protected
Optional
Readonly
application
Ref
application
Ref
:
HttpServer
Protected
Optional
Readonly
http
Adapter
Host
http
Adapter
Host
:
HttpAdapterHost
Static
Private
Readonly
logger
logger
:
Logger
= new Logger('ExceptionsHandler')
Methods
catch
catch
(
exception
:
T
, host
:
ArgumentsHost
)
:
void
Parameters
exception:
T
host:
ArgumentsHost
Returns
void
handle
Unknown
Error
handle
Unknown
Error
(
exception
:
T
, host
:
ArgumentsHost
, applicationRef
:
AbstractHttpAdapter
|
HttpServer
)
:
void
Parameters
exception:
T
host:
ArgumentsHost
applicationRef:
AbstractHttpAdapter
|
HttpServer
Returns
void
is
Exception
Object
is
Exception
Object
(
err
:
any
)
:
err
is
Error
Parameters
err:
any
Returns
err
is
Error
Globals
Base
Exception
Filter
constructor
application
Ref
http
Adapter
Host
logger
catch
handle
Unknown
Error
is
Exception
Object
Generated using
TypeDoc