Search
Preparing search index...
The search index is not available
@cruxpay/js-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
ClientError
Class ClientError
Hierarchy
BaseError
ClientError
CruxClientError
CruxOnBoardingClientError
Index
Constructors
constructor
Properties
error
Code
message
name
stack
FALLBACK_
ERROR_
CODE
Methods
from
Error
Constructors
constructor
new
Client
Error
(
cause
:
Error
|
null
, errorMessage
:
string
, errorCode
:
undefined
|
number
)
:
ClientError
Parameters
cause:
Error
|
null
errorMessage:
string
Optional
errorCode:
undefined
|
number
Returns
ClientError
Properties
error
Code
error
Code
:
number
message
message
:
string
name
name
:
string
Optional
stack
stack
:
undefined
|
string
Static
FALLBACK_
ERROR_
CODE
FALLBACK_
ERROR_
CODE
:
number
= 9000
Methods
Static
from
Error
from
Error
(
error
:
ClientError
|
PackageError
|
Error
|
string
, messagePrefix
:
undefined
|
string
)
:
ClientError
Parameters
error:
ClientError
|
PackageError
|
Error
|
string
Optional
messagePrefix:
undefined
|
string
Returns
ClientError
Globals
Client
Error
constructor
error
Code
message
name
stack
FALLBACK_
ERROR_
CODE
from
Error
Generated using
TypeDoc