4 releases (2 breaking)
0.3.0 | Jun 19, 2024 |
---|---|
0.2.0 | Jun 18, 2024 |
0.1.1 | Jun 18, 2024 |
0.1.0 | Jun 18, 2024 |
#1096 in Rust patterns
105 downloads per month
8KB
125 lines
catch-unwind
This crate provides wrappers for std::panic::catch_unwind
that handle the
edge case of the caught panic payload itself panicing when dropped.
See the documentation at https://docs.rs/catch-unwind.
Version history
- 0.3.0 - Added
catch_unwind_wrapped
, removedcatch_unwind_with
- 0.2.0 - Replace the
with
functions from 0.1.1 with a more generalcatch_unwind_with
- 0.1.1 - Added
catch_unwind_with_or_abort
andcatch_unwind_with_or_forget
- 0.1.0 - Initial release
lib.rs
:
This crate provides wrappers for std::panic::catch_unwind
that handle the
edge case of the caught panic payload itself panicing when dropped.