JsonAnswerError
Defined in: core/src/types.ts:284
An answer parseJsonAnswer found no JSON in. text is the answer, cut to
2,000 characters like a provider’s error body; cause is the SyntaxError.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new JsonAnswerError(text, cause): JsonAnswerError;Defined in: core/src/types.ts:287
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text |
string |
cause |
unknown |
Returns
Section titled “Returns”JsonAnswerError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”cause?
Section titled “cause?”optional cause?: unknown;Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”Error.causemessage
Section titled “message”message: string;Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”Error.messagename: string;Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.namestack?
Section titled “stack?”optional stack?: string;Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”Error.stackreadonly text: string;Defined in: core/src/types.ts:285