catch_panic 1.0.0

A helper macro for safe Java-Rust interop that "catches" Rust panics and rethrows them as Java exceptions.
Documentation
1
2
3
4
5
error: unexpected token
 --> ui_tests/fail/invalid_default.rs:5:25
  |
5 | #[catch_panic(default = "magic fairy dust")]
  |                         ^^^^^^^^^^^^^^^^^^