stacked_errors/special.rs
1/// Used internally when an error needs to be pushed but only the location is
2/// important
3#[derive(thiserror::Error, Debug)]
4#[error("UnitError")]
5pub struct UnitError {}
6
7/// Used to signal timeouts
8#[derive(thiserror::Error, Debug)]
9#[error("TimeoutError")]
10pub struct TimeoutError {}
11
12/// Used to signal to crates like `super_orchestrator` that an error was
13/// probably not the root cause
14#[derive(thiserror::Error, Debug)]
15#[error("ProbablyNotRootCauseError")]
16pub struct ProbablyNotRootCauseError {}