oopsie 0.1.0-rc.15

Ergonomic, structured error handling: context selectors, traced errors, and rich colorized reports
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Overrides the path to the `oopsie` crate used in the generated code, given as a
string. Needed when `oopsie` is re-exported under a different path or renamed in
`Cargo.toml`. Defaults to `::oopsie`; a container-level `#[oopsie(path = ...)]`
on the type itself wins over this.

Forms: `path = "some::path"`, `path = some::path`.

### Example
```ignore
// A real custom path must name a crate that actually re-exports `oopsie`,
// which can't exist inside this crate's own doctest.
#[oopsie::oopsie(path = "my_crate::reexports::oopsie")]
pub enum AppError {
    #[oopsie("boom")]
    Boom,
}
```