Expand description
The error model.
spec/04-architecture.md section 4.9 says errors are values, Result is everywhere, and no
path reachable from user input panics. It also says every error carries a code, a message and
optionally a span into the query text, that the codes are stable because clients switch on
them, and that the messages match DuckDB’s where a DuckDB message is what a test asserts on.
This module is where all three of those obligations live.
Structs§
- Error
- An error, carrying a code, a message and optionally where in the query it happened.
- Span
- A byte range into the query text.
Enums§
- Error
Code - What kind of thing went wrong.
Type Aliases§
- Result
- The result type used everywhere in the workspace.