pub fn is_cannot_delete_exception(&self) -> bool {
        matches!(
            &self.kind,
            DeleteTestGridProjectErrorKind::CannotDeleteException(_)
        )
    }
/// Returns `true` if the error kind is `DeleteTestGridProjectErrorKind::CannotDeleteException`.
Returns `true` if the error kind is `DeleteTestGridProjectErrorKind::CannotDeleteException`.
Returns ` true ` if the error kind is ` DeleteTestGridProjectErrorKind :: CannotDeleteException ` .
pub fn is_cannot_delete_exception(&self) -> bool {
        matches!(
            &self.kind,
            DeleteTestGridProjectErrorKind::CannotDeleteException(_)
        )
    }
pub fn is_cannot_delete_exception ( & self ) -> bool { matches ! ( self kind DeleteTestGridProjectErrorKind CannotDeleteException ( ) ) }
Returns `true` if the error kind is `DeleteTestGridProjectErrorKind::CannotDeleteException`.
Returns ` true ` if the error kind is ` DeleteTestGridProjectErrorKind :: CannotDeleteException ` .
&self
&self