Class: MutatorValidationError
Class: MutatorValidationError
Section titled “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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MutatorValidationError(
mutatorName,issues):MutatorValidationError
Defined in: core/src/mutators.ts:38
Parameters
Section titled “Parameters”mutatorName
Section titled “mutatorName”string
issues
Section titled “issues”readonly StandardSchemaIssue[]
Returns
Section titled “Returns”MutatorValidationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”mutatorName
Section titled “mutatorName”
readonlymutatorName:string
Defined in: core/src/mutators.ts:39
issues
Section titled “issues”
readonlyissues: readonlyStandardSchemaIssue[]
Defined in: core/src/mutators.ts:40