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