type
ValidationError
A path-aware set of schema issues.
Properties
| Property | Type | Description |
|---|---|---|
Issues | []Issue | The Issues value. |
How it works
Use errors.As to inspect every stable code/path/message issue rather than parsing Error text. NewValidationError defensively copies and orders supplied issues.
Full signature
type ValidationError struct {
Issues []Issue `json:"issues"`
}Methods
ValidationError.Error()Public method ValidationError.Error from github.com/riducms/ridu/schema.