Class: AIJSXError
core/errors.AIJSXError
A generic error thrown by AI.JSX. It could be a user error, runtime error, or internal error.
Hierarchy
Error
↳
AIJSXError
Constructors
constructor
• new AIJSXError(message
, code
, blame
, metadata?
)
Parameters
Name | Type |
---|---|
message | string |
code | ErrorCode |
blame | ErrorBlame |
metadata | Jsonifiable |
Overrides
Error.constructor
Defined in
Properties
blame
• Readonly
blame: ErrorBlame
Defined in
code
• Readonly
code: ErrorCode
Defined in
metadata
• Readonly
metadata: Jsonifiable
= {}
Defined in
Methods
toString
▸ toString(): string
Returns
string