DraftValidationError
Defined in: validation.ts:494
Raised by assertValidDraft when a draft fails validation.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DraftValidationError(errors): DraftValidationError;Defined in: validation.ts:496
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
errors |
ValidationIssue[] |
Returns
Section titled “Returns”DraftValidationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”| Property | Modifier | Type | Defined in |
|---|---|---|---|
errors |
readonly |
ValidationIssue[] |
validation.ts:495 |