pub fn is_empty(&self) -> bool {
        self.reason.is_empty() && self.domain.is_empty() && self.metadata.is_empty()
    }
Returns `true` if [`ErrorInfo`] fields are empty, and `false` if they
are not.
tonic-types/src/richer_error/std_messages/error_info.rs