Skip to content

Class: MutatorValidationError

Defined in: core/src/mutators.ts:37

Thrown when a mutator’s declared args schema rejects the caller-supplied value. On the client this bubbles out of plasma.mutate(...). On the server it lands in SyncServerError’s mutation-error and the mutation id still advances so the client isn’t stuck retrying a poisoned payload.

  • Error

new MutatorValidationError(mutatorName, issues): MutatorValidationError

Defined in: core/src/mutators.ts:38

string

readonly StandardSchemaIssue[]

MutatorValidationError

Error.constructor

readonly mutatorName: string

Defined in: core/src/mutators.ts:39


readonly issues: readonly StandardSchemaIssue[]

Defined in: core/src/mutators.ts:40