Expand description
The error model. P5: errors are values with structure, never a string a caller has to parse.
The Code enum is generated from errors.toml. This module is the Rust
shaped wrapper around it, and it carries the four extra fields the C ABI
also carries so that nothing is lost crossing the boundary: a message, a
position, a documentation URL, and a free form detail.
Structs§
- Error
- An error, with everything a caller or an agent needs to act on it.
Enums§
- Code
- A stable, wire visible condition code.
Type Aliases§
- Result
- The crate wide result type.