Skip to content

Explanation

Background and reasoning. Nothing here is needed to use the crate; all of it is needed to understand why it behaves the way it does.

Page Answers
Errors are values, not handled events Why there is no ErrorHandler, no .check(), and no central error funnel
Why the hook is installed once and the footer is not Why a wrapper handler exists at all, and why installing early matters so much
What rtb-error does not do The deliberate absences, the unsupported combinations, and what to use instead

There is a companion blog post, Errors without an error handler, which tells the same story as a narrative about porting go-tool-base to Rust. It is opinion and history rather than documentation; these pages are the documentation.