Skip to main content

Module error

Module error 

Source
Expand description

Error formatting utilities for Rusty Commit CLI.

Provides structured, beautiful error messages with hints and context.

Modules§

patterns
Common error patterns with built-in hints.

Structs§

StructuredError
A structured error with context and hints.

Traits§

ToStructured
Helper to convert anyhow errors to structured errors.

Functions§

context
Convert an anyhow Result to a StructuredError with optional context.
exit_with_error
Exit with a structured error.
print_error
Print a structured error with the appropriate format.