Search
Preparing search index...
The search index is not available
@nestjs/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RouterExceptionFilters
Class RouterExceptionFilters
Hierarchy
BaseExceptionFilterContext
RouterExceptionFilters
Index
Constructors
constructor
Properties
application
Ref
config
module
Context
Methods
create
create
Concrete
Context
create
Context
get
Filter
Instance
get
Global
Metadata
get
Instance
ByMetatype
reflect
Catch
Exceptions
reflect
Class
Metadata
reflect
Method
Metadata
Constructors
constructor
new
Router
Exception
Filters
(
container
:
NestContainer
, config
:
ApplicationConfig
, applicationRef
:
HttpServer
)
:
RouterExceptionFilters
Parameters
container:
NestContainer
config:
ApplicationConfig
applicationRef:
HttpServer
Returns
RouterExceptionFilters
Properties
Private
Readonly
application
Ref
application
Ref
:
HttpServer
Private
Readonly
config
config
:
ApplicationConfig
Protected
module
Context
module
Context
:
string
Methods
create
create
(
instance
:
Controller
, callback
:
RouterProxyCallback
, moduleKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
ExceptionsHandler
Parameters
instance:
Controller
callback:
RouterProxyCallback
moduleKey:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
ExceptionsHandler
create
Concrete
Context
create
Concrete
Context<T, R>
(
metadata
:
T
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
any
[]
R
:
any
[]
Parameters
metadata:
T
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
create
Context
create
Context<T, R>
(
instance
:
Controller
, callback
:
(
...
args
:
any
[]
)
=>
void
, metadataKey
:
string
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
R
Type parameters
T
:
unknown
[]
=
any
R
:
unknown
[]
=
any
Parameters
instance:
Controller
callback:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
metadataKey:
string
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
R
get
Filter
Instance
get
Filter
Instance
(
filter
:
Function
|
ExceptionFilter
, contextId
?:
ContextId
, inquirerId
?:
string
)
:
ExceptionFilter
|
null
Parameters
filter:
Function
|
ExceptionFilter
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
ExceptionFilter
|
null
get
Global
Metadata
get
Global
Metadata<T>
(
contextId
?:
ContextId
, inquirerId
?:
string
)
:
T
Type parameters
T
:
unknown
[]
Parameters
Default value
contextId:
ContextId
= STATIC_CONTEXT
Optional
inquirerId:
string
Returns
T
get
Instance
ByMetatype
get
Instance
ByMetatype<T>
(
filter
:
T
)
:
InstanceWrapper
|
undefined
Type parameters
T
:
Record
<
string
,
any
>
Parameters
filter:
T
Returns
InstanceWrapper
|
undefined
reflect
Catch
Exceptions
reflect
Catch
Exceptions
(
instance
:
ExceptionFilter
)
:
Type
<
any
>
[]
Parameters
instance:
ExceptionFilter
Returns
Type
<
any
>
[]
reflect
Class
Metadata
reflect
Class
Metadata<T>
(
instance
:
Controller
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
instance:
Controller
metadataKey:
string
Returns
T
reflect
Method
Metadata
reflect
Method
Metadata<T>
(
callback
:
(
...
args
:
unknown
[]
)
=>
unknown
, metadataKey
:
string
)
:
T
Type parameters
T
Parameters
callback:
(
...
args
:
unknown
[]
)
=>
unknown
(
...
args
:
unknown
[]
)
:
unknown
Parameters
Rest
...
args:
unknown
[]
Returns
unknown
metadataKey:
string
Returns
T
Globals
Router
Exception
Filters
constructor
application
Ref
config
module
Context
create
create
Concrete
Context
create
Context
get
Filter
Instance
get
Global
Metadata
get
Instance
ByMetatype
reflect
Catch
Exceptions
reflect
Class
Metadata
reflect
Method
Metadata
Generated using
TypeDoc