Skip to content

SchemaMismatchError

Defined in: src/schema/errors.ts:154

Data did not fit its schema: a write named a column the schema does not have, left out one it requires, or gave one a value of the wrong type — or an entity read back through a schema lacks a required column or holds one with a different type.

  • Error

new SchemaMismatchError(columnName, reason): SchemaMismatchError

Defined in: src/schema/errors.ts:158

string

string

SchemaMismatchError

Error.constructor

readonly columnName: string

Defined in: src/schema/errors.ts:156

The column at fault.