Thrown when a snapshot value does not match any of the expected types in a union (extends MobxKeystoneError).
MobxKeystoneError
Use instanceof SnapshotTypeMismatchError to distinguish snapshot type-mismatch errors from other MobxKeystoneError instances.
instanceof SnapshotTypeMismatchError
Readonly
Optional
Static
Indicates whether the argument provided is a built-in Error instance or not.
Thrown when a snapshot value does not match any of the expected types in a union (extends
MobxKeystoneError).Use
instanceof SnapshotTypeMismatchErrorto distinguish snapshot type-mismatch errors from otherMobxKeystoneErrorinstances.