feat(errors): add stable error propagation

This commit is contained in:
Onur Özkan committed 2026-08-23 00:40:17 +03:00
1 parent 97acb2a2d7
commit ba9c97ed3b
34 files changed
+1007

No files matched your search

@@ -0,0 +1,14 @@
use kaptan_err_propagate_macros::propagate;
extern crate self as kaptan_err_propagate;
pub mod __private {
pub fn report_result<T, E>(_: &Result<T, E>, _: &'static str) {}
}
#[propagate]
fn invalid() -> bool {
true
}
fn main() {}