ValidationError class
export declare class ValidationError extends Error
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(errors) | Constructs a new instance of the ValidationError class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
errors | readonly | readonly Failure[] | An array of superstruct error objects. |