Skip to content

How-to guides

Each page solves one task and assumes you already have rtb-error in your Cargo.toml. If you are starting from nothing, do the tutorial first.

Page Task
Install the diagnostic pipeline Get graphical diagnostics and panics rendering the same way, in the right order
Define your own error type Write a Diagnostic enum for your crate and convert it at the framework boundary
Set the process exit code Exit with something other than 1 when a specific error occurs
Add a support footer Append a support line to every rendered diagnostic, including panics