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
↳↳
HttpError
Constructors
constructor
• new AIJSXError(message
, code
, blame
, metadata?
)
Parameters
Name | Type |
---|---|
message | string |
code | ErrorCode |
blame | ErrorBlame |
metadata | Jsonifiable |
Overrides
Error.constructor
Defined in
packages/ai-jsx/src/core/errors.ts:55
Properties
blame
• Readonly
blame: ErrorBlame
Defined in
packages/ai-jsx/src/core/errors.ts:58
code
• Readonly
code: ErrorCode
Defined in
packages/ai-jsx/src/core/errors.ts:57
metadata
• Readonly
metadata: Jsonifiable
= {}
Defined in
packages/ai-jsx/src/core/errors.ts:59
Methods
toString
▸ toString(): string
Returns
string