pub fn set_app_error_if_absent<E>(error: E)where E: Into<Box<dyn Error + Send + Sync>>,
Sets a thread-local error that can be retrieved with take_app_error(), if one wasn’t set already.
take_app_error()