Skip to main content

map_debug_log

Function map_debug_log 

Source
pub fn map_debug_log<E>(error: E) -> Error
where Error: From<E>,
Expand description

Converts and debug-logs an error while returning the converted value.

Debug-aware logging occurs after conversion to Error. The same converted error is returned for propagation by combinator chains.