Expand description
Built-in error handler implementations.
Structs§
- Counter
Handler - Count errors by type name.
- Error
LogHandler - Log an error and pass through.
- Ignore
Handler - Silently pass through (no-op).
- Retry
Handler - Mark the error as retryable.
- Stop
Handler - Signal that execution should stop after this error.
Does NOT print — that’s
warn’s job. Usewarn,stopto both log and halt. - Warn
Handler - Log a warning and pass through.
Functions§
- builtin_
handler - Look up a built-in handler by name.
- set_
log_ fn - Set the global log function for error handlers.