pub fn handle_error<E>(error: E) where
    E: Display