Skip to main content

Module error

Module error 

Source
Expand description

Error type returned by every fallible public function.

Errors are intentionally coarse-grained: the host never needs to do anything with them other than reject the request. We give them descriptive Display strings so logs are useful, but there is no #[non_exhaustive] machinery, no error codes, no nested causes — the crate’s job is to say “valid” or “not valid”, and these variants only exist to explain why an input could not even be parsed.

Enums§

Error
Anything that can go wrong when parsing or processing inputs.

Type Aliases§

Result
Local Result alias to keep signatures readable.