Skip to main content

Module error

Module error 

Source
Expand description

Error types for validation results.

Provides ValidationError for individual field errors and ValidationErrors for collecting multiple errors across a struct. All types are JSON-serializable for API error responses and implement Display for human-readable output.

Structs§

ValidationError
A single validation error with location context.
ValidationErrors
A collection of validation errors from validating a struct.

Enums§

PathSegment
Path segment in a validation error location.