Skip to main content

Module prelude

Module prelude 

Source
Expand description

Prelude module for convenient imports.

Import everything with use charon_error::prelude::*; Prelude that can be imported to make it easier to get started

Re-exports§

pub use crate::ErrorReport;
pub use crate::ResultER;
pub use crate::ResultExt;
pub use crate::StringError;
pub use crate::ErrorAttachment;
pub use crate::ErrorSensitivityLabel;

Modules§

gitlab_er
instrument
Attach a span to a std::future::Future.
panic_hook

Macros§

setup_panic
Set up a custom panic hook with issue submission and known-error matching.

Attribute Macros§

instrument
Instruments a function to create and enter a tracing span every time the function is called.

Derive Macros§

ThisError