Skip to main content

Module error

Module error 

Source

Structs§

FieldResult
Result of validating a single field.
IssueBuilder
Fluent builder for constructing a single ValidationIssue.
ParseResult
Result of lenient parsing: contains the (possibly partial) struct and per-field diagnostics.
ValidationIssue
A single validation issue with path, message and received value.
VldError
Collection of validation errors.

Enums§

IssueCode
Validation issue code — describes what went wrong.
PathSegment
A segment in a validation error path.
StringValidation
Type of string validation that failed.

Functions§

format_value_short
Format a JSON value for display in errors (short form).