Skip to main content

Module handlers

Module handlers 

Source
Expand description

Built-in error handler implementations.

Structs§

CounterHandler
Count errors by type name.
ErrorLogHandler
Log an error and pass through.
IgnoreHandler
Silently pass through (no-op).
RetryHandler
Mark the error as retryable.
StopHandler
Signal that execution should stop after this error. Does NOT print — that’s warn’s job. Use warn,stop to both log and halt.
WarnHandler
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.