feat(errors): add stable error propagation
This commit is contained in:
1 parent
97acb2a2d7
commit
ba9c97ed3b
34 files changed
+1007
No files matched your search
@@ -0,0 +1,8 @@
|
||||
use kaptan_err_propagate_macros::propagate;
|
||||
|
||||
#[propagate(report)]
|
||||
fn invalid() -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in new issue
Block a user