A stringly-typed Error that includes #[track_caller]
information.
Points you to the location in your code that errored, without the panic!
.
Also lets you try an Option
into a Result
.
```rust,no_run use tracked::tracked;
fn f() -> Option<()> { None }
fn main() -> Result<(), tracked::StringError> { let _ = f()?; Ok(()) } ```
text
Error: NoneError in main at src/main.rs:9:16