matrix-appservice-bridge
Preparing search index...
unstable
wrap
Function wrap
wrap
<
T
extends
EventNotHandledError
>
(
oldError
:
string
|
Error
,
newErrorType
:
new
(
message
:
string
)
=>
T
,
message
?:
string
,
)
:
EventNotHandledError
Type Parameters
T
extends
EventNotHandledError
Parameters
oldError
:
string
|
Error
newErrorType
:
new
(
message
:
string
)
=>
T
Optional
message
:
string
Returns
EventNotHandledError
Deprecated
Use
wrapError
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
matrix-appservice-bridge
Loading...
Deprecated
Use wrapError