Crate errloc_macros

Source
Expand description

Utility macros (and a function) to use with std::panic::catch_unwind

Macros§

errloc
Macro that returns current source file name with a line number.
errlocm
Macro that creates a message, concatenating current source file name and a line number with the specified &str.

Functions§

msg
This function extracts message from the panic payload, that is obtained from std::panic::catch_unwind