Search
Preparing search index...
The search index is not available
Xuper SDK (JS/TS)
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
XuperError1
Class XuperError1
Hierarchy
Error
XuperError1
Index
Constructors
constructor
Properties
error
Code
message
name
payload
stack
Error
Methods
fix
Stack
String
template
Constructors
constructor
new
Xuper
Error1
(
errorCode
:
number
|
string
, message
?:
string
, payload
?:
Error
|
string
, opts
?:
ErrorOptions
)
:
XuperError1
Parameters
errorCode:
number
|
string
Default value
message:
string
= ""
Optional
payload:
Error
|
string
Optional
opts:
ErrorOptions
Returns
XuperError1
Properties
error
Code
error
Code
:
number
|
string
message
message
:
string
name
name
:
string
payload
payload
:
Error
|
string
|
undefined
Optional
stack
stack
:
undefined
|
string
Static
Error
Error
:
ErrorConstructor
Methods
Static
Private
fix
Stack
String
fix
Stack
String
(
stack
?:
string
, char
?:
string
, stackLine
?:
[
number
,
number
]
)
:
string
Parameters
Default value
stack:
string
= ""
Default value
char:
string
= ""
Optional
stackLine:
[
number
,
number
]
Returns
string
Static
template
template
(
errorCode
:
number
|
string
, message
:
string
, payload
?:
Error
|
string
, opts
?:
ErrorOptions
)
:
XuperError1
Parameters
errorCode:
number
|
string
message:
string
Optional
payload:
Error
|
string
Optional
opts:
ErrorOptions
Returns
XuperError1
Globals
Xuper
Error1
constructor
error
Code
message
name
payload
stack
Error
fix
Stack
String
template