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