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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SchemaMismatchError(
columnName,reason):SchemaMismatchError
Defined in: src/schema/errors.ts:158
Parameters
Section titled “Parameters”columnName
Section titled “columnName”string
reason
Section titled “reason”string
Returns
Section titled “Returns”SchemaMismatchError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”columnName
Section titled “columnName”
readonlycolumnName:string
Defined in: src/schema/errors.ts:156
The column at fault.