new OBIError(category, message, innerError)
Parameters:
Name |
Type |
Argument |
Description |
category |
String
|
|
|
message |
String
|
<optional>
|
optional message |
innerError |
Error
|
String
|
<optional>
|
optional inner error |
Members
-
<static> jsx.OBIError.Category :string
-
Type:
Properties:
Name |
Type |
Default |
Description |
FRAMEWORK_ERROR |
string
|
OBI Framework Error
|
|
CALL_ERROR |
string
|
FunctionCallError
|
|
ARGUMENT_ERROR |
string
|
ArgumentError
|
|
STATE_ERROR |
string
|
StateError
|
|
FILE_FORMAT_ERROR |
string
|
File format error
|
|
Methods
-
getCategory() → {String}
-
Get the error category.
Returns:
the error category.
-
Type
-
String
-
getInnerError() → {Error}
-
Get inner error or undefined if no inner error was supplied.
Returns:
the error category.
-
Type
-
Error