JsonValidationError
Defined in: src/errors.ts:84
Error thrown when attempting to serialize a value that is not JSON-serializable.
This error indicates that a value contains non-serializable types such as functions, symbols, or undefined values that cannot be converted to JSON.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new JsonValidationError(message): JsonValidationError;Defined in: src/errors.ts:90
Creates a new JsonValidationError.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
message | string | Error message describing the validation failure |
Returns
Section titled “Returns”JsonValidationError
Overrides
Section titled “Overrides”Error.constructor