Crate oofs

Source

Modules§

__used_by_attribute
Module used by attribute #[oofs]

Macros§

ensure
Check that a given expression evaluates to true, else return an error.
ensure_eq
Check that two given expressions are same, else return an error.
oof
Create a custom error Oof similar to anyhow!

Structs§

Oof
Error type for oofs.

Traits§

OofExt
Helper trait for Result and Option to add tags and attach extra contexts.

Functions§

wrap_err
Wraps a custom error with Oof

Type Aliases§

Result

Attribute Macros§

oofs
Place above fn or impl to generate and inject context to ? operators.