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