Class: SchemaMismatchError
Defined in: packages/core/src/application/errors/schema-mismatch-error.ts:8
Thrown when a change was created with a different schema than the currently active one. A schema name mismatch indicates structural incompatibility (different artifact types, formats, delta rules, validations).
Extends
Constructors
Constructor
new SchemaMismatchError(
changeName,expected,actual):SchemaMismatchError
Defined in: packages/core/src/application/errors/schema-mismatch-error.ts:21
Creates a new SchemaMismatchError instance.
Parameters
changeName
string
The name of the change
expected
string
The schema name recorded in the change's created event
actual
string
The currently active schema name
Returns
SchemaMismatchError