Preparing search index...
The search index is not available
Documentation
Documentation
@mysten/wallet-standard
WalletStandardError
Class WalletStandardError<TErrorCode>
Type Parameters
TErrorCode
extends
WalletStandardErrorCode
=
WalletStandardErrorCode
Hierarchy
Error
WalletStandardError
Index
Constructors
constructor
Properties
cause?
context
message
name
stack?
Constructors
constructor
new
WalletStandardError
<
TErrorCode
extends
WalletStandardErrorCode
=
WalletStandardErrorCode
,
>
(
...
__namedParameters
:
WalletStandardErrorContext
[
TErrorCode
]
extends
undefined
?
[
code
:
TErrorCode
,
errorOptions
?:
ErrorOptions
]
:
[
code
:
TErrorCode
,
contextAndErrorOptions
:
WalletStandardErrorContext
[
TErrorCode
]
&
(
undefined
|
ErrorOptions
)
,
]
,
)
:
WalletStandardError
<
TErrorCode
>
Type Parameters
TErrorCode
extends
WalletStandardErrorCode
=
WalletStandardErrorCode
Parameters
...
__namedParameters
:
WalletStandardErrorContext
[
TErrorCode
]
extends
undefined
?
[
code
:
TErrorCode
,
errorOptions
?:
ErrorOptions
]
:
[
code
:
TErrorCode
,
contextAndErrorOptions
:
WalletStandardErrorContext
[
TErrorCode
]
&
(
undefined
|
ErrorOptions
)
,
]
Returns
WalletStandardError
<
TErrorCode
>
Properties
Optional
cause
cause
?:
unknown
Readonly
context
context
:
Readonly
<
{
"3834000"
:
object
&
{
__code
:
3834000
}
;
"3834001"
:
{
address
:
string
;
walletName
:
string
}
&
{
__code
:
3834001
}
;
"4001000"
:
object
&
{
__code
:
4001000
}
;
"6160000"
:
{
address
:
string
;
chain
:
string
;
featureName
:
string
;
supportedChains
:
string
[]
;
supportedFeatures
:
string
[]
;
}
&
{
__code
:
6160000
}
;
"6160001"
:
{
address
:
string
;
featureName
:
string
;
supportedChains
:
string
[]
;
supportedFeatures
:
string
[]
;
}
&
{
__code
:
6160001
}
;
"6160002"
:
{
featureName
:
string
;
supportedChains
:
string
[]
;
supportedFeatures
:
string
[]
;
walletName
:
string
;
}
&
{
__code
:
6160002
}
;
}
,
>
[
TErrorCode
]
message
message
:
string
name
name
:
string
Optional
stack
stack
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cause
context
message
name
stack
Documentation
Loading...