Skip to main content

Module error

Module error 

Source
Expand description

Structured error types for public API boundaries.

Use thiserror for APIs consumed by other crates, enabling:

  • Precise error matching (e.g. retry on NotFound, abort on PathEscape)
  • Clear error messages without losing context
  • Automatic conversion to anyhow via ? in caller code

Enumsยง

PathValidationError
Errors from path validation operations.