Skip to content

Defined in: schema/errors.ts:12

Thrown when a schema definition violates a validation rule.

Lives in a separate domain from SheetsError — schema validation is a pure compile-time concern with no I/O.

Extends ​

  • Error

Constructors ​

Constructor ​

new SchemaValidationError(message): SchemaValidationError

Defined in: schema/errors.ts:15

Parameters ​

message ​

string

Returns ​

SchemaValidationError

Overrides ​

Error.constructor

Properties ​

name ​

name: "SchemaValidationError"

Defined in: schema/errors.ts:13

Overrides ​

Error.name

Released under the MIT License.