Related Problem
Report::install_debug_hook / Report::set_color_mode / Report::set_charset seems all global settings.
I'd prefer to switch the manner locally. For example, I'd switch the manner when returning HTTP error response to trim the Backtrace with Report::install_debug_hook::<std::backtrace::Backtrace>(|_, _| {}); as well as use ASCII and no color, but I'm OK with these settings in all other situations.
Proposed Solution
No idea. I'm not quite sure about the philosophy.
Alternatives
No response
Additional context
No response
Related Problem
Report::install_debug_hook/Report::set_color_mode/Report::set_charsetseems all global settings.I'd prefer to switch the manner locally. For example, I'd switch the manner when returning HTTP error response to trim the Backtrace with
Report::install_debug_hook::<std::backtrace::Backtrace>(|_, _| {});as well as use ASCII and no color, but I'm OK with these settings in all other situations.Proposed Solution
No idea. I'm not quite sure about the philosophy.
Alternatives
No response
Additional context
No response