schema_error (error)
Stable error · Validation
Tier: stable · Kind: error · Topic: Validation
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | not exported | not exported | SchemaError | SchemaError |
Julia
Julia does not export this error.
TypeScript
TypeScript does not export this error.
Python
Python does not export this error.
Rust
pub struct SchemaError {
pub path: String,
pub message: String,
pub keyword: String,
}
A schema validation error
Go
type SchemaError struct {
Path string `json:"path"` // RFC 6901 JSON Pointer to the offending location (as reported by the schema validator)
Message string `json:"message"` // Human-readable description
Keyword string `json:"keyword"` // JSON Schema keyword that failed
}
SchemaError represents a JSON Schema violation