CDP Frontend SDK
Preparing search index...
@coinbase/cdp-core
APIError
Class APIError
Hierarchy
Error
APIError
Index
Constructors
constructor
Methods
to
JSON
Properties
status
Code
error
Type
error
Message
correlation
Id?
error
Link?
Constructors
constructor
new
APIError
(
statusCode
:
number
,
errorType
:
APIErrorType
,
errorMessage
:
string
,
correlationId
?:
string
,
errorLink
?:
string
,
cause
?:
Error
,
)
:
APIError
Parameters
statusCode
:
number
errorType
:
APIErrorType
errorMessage
:
string
Optional
correlationId
:
string
Optional
errorLink
:
string
Optional
cause
:
Error
Returns
APIError
Methods
to
JSON
toJSON
()
:
{
errorLink
?:
string
;
correlationId
?:
string
;
name
:
string
;
statusCode
:
number
;
errorType
:
APIErrorType
;
errorMessage
:
string
;
}
Returns
{
errorLink
?:
string
;
correlationId
?:
string
;
name
:
string
;
statusCode
:
number
;
errorType
:
APIErrorType
;
errorMessage
:
string
;
}
Properties
status
Code
statusCode
:
number
error
Type
errorType
:
APIErrorType
error
Message
errorMessage
:
string
Optional
correlation
Id
correlationId
?:
string
Optional
error
Link
errorLink
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
to
JSON
Properties
status
Code
error
Type
error
Message
correlation
Id
error
Link
CDP Frontend SDK
Loading...