traced_macro
Procedural macro support for traced_error.
This crate provides the #[traced] attribute macro used by traced_error to rewrite ? propagation points and attach source-location trace frames.
Usage
Most users should not depend on this crate directly. Use traced_error instead:
[]
= "0.1"
Then import the prelude:
use *;
The macro is re-exported as traced_error::traced and through traced_error::prelude::*.
Repository
traced_macro is published as a separate crates.io package because procedural macros must live in a proc-macro crate.
It does not need a separate GitHub repository. The source is maintained in the same workspace as traced_error:
https://github.com/lihaohan/traced_error
License
Licensed under either of MIT or Apache-2.0 at your option.