Expand description
wherr
crate provides a way to enhance Rust errors with file and line number information.
The main struct Wherr
represents an error containing additional metadata about where it originated from.
The wherr
attribute macro, defined in the wherr_macro
crate, is re-exported here for ease of use.
Structs
- Represents an error that includes file and line number metadata.
Functions
- Utility function to wrap the given error into a
Wherr
struct, adding file and line number details.
Attribute Macros
- Procedural macro attribute that processes a function to automatically wrap errors using the
?
operator with file and line number details.