Search
Preparing search index...
The search index is not available
@nestjs/websockets
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
BaseExceptionFilterContext
Class BaseExceptionFilterContext
Hierarchy
ContextCreator
ContextCreator
BaseExceptionFilterContext
Index
Constructors
constructor
Properties
container
module
Context
Methods
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
Base
Exception
Filter
Context
(
container
:
any
)
:
BaseExceptionFilterContext
Parameters
container:
any
Returns
BaseExceptionFilterContext
Properties
Private
Readonly
container
container
:
NestContainer
Protected
module
Context
module
Context
:
string
Methods
create
Concrete
Context
create
Concrete
Context
(
metadata
:
any
, contextId
?:
ContextId
, inquirerId
:
any
)
:
{
exceptionMetatypes
:
any
;
func
:
any
}
[]
Parameters
metadata:
any
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
{
exceptionMetatypes
:
any
;
func
:
any
}
[]
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
Optional
contextId:
ContextId
Optional
inquirerId:
string
Returns
R
get
Filter
Instance
get
Filter
Instance
(
filter
:
any
, contextId
?:
ContextId
, inquirerId
:
any
)
:
any
Parameters
filter:
any
Default value
contextId:
ContextId
= constants_2.STATIC_CONTEXT
inquirerId:
any
Returns
any
Optional
get
Global
Metadata
get
Global
Metadata<T>
(
contextId
?:
ContextId
, inquirerId
?:
string
)
:
T
Type parameters
T
:
any
[]
Parameters
Optional
contextId:
ContextId
Optional
inquirerId:
string
Returns
T
get
Instance
ByMetatype
get
Instance
ByMetatype
(
filter
:
any
)
:
any
Parameters
filter:
any
Returns
any
reflect
Catch
Exceptions
reflect
Catch
Exceptions
(
instance
:
any
)
:
any
Parameters
instance:
any
Returns
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
Base
Exception
Filter
Context
constructor
container
module
Context
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