set_app_error_if_absent

Function set_app_error_if_absent 

Source
pub fn set_app_error_if_absent<E>(error: E)
where E: Into<Box<dyn Error + Send + Sync>>,
Expand description

Sets a thread-local error that can be retrieved with take_app_error(), if one wasn’t set already.