thiserror
thiserror copied to clipboard
[Feature] std::panic::Location support
closes #142
#[derive(Debug, Error)]
struct MyError {
#[from] err: SomeOtherError,
#[location] /*optional attr*/ location: &'static Location<'static>,
}
This is a solid change. I've started using it in a project of mine and it's working great.
+1