Class PolicyEvaluationException
Exception thrown when a policy evaluation fails before producing a decision.
Inheritance
PolicyEvaluationException
Implements
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.Exceptions
Assembly: ModularityKit.Mutator.dll
Syntax
public class PolicyEvaluationException : MutationException, ISerializable
Remarks
Initializes a new instance of PolicyEvaluationException.
Constructors
| Edit this page View SourcePolicyEvaluationException(string, string, Exception?)
Exception thrown when a policy evaluation fails before producing a decision.
Declaration
public PolicyEvaluationException(string policyName, string message, Exception? innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | policyName | The policy name. |
| string | message | Human-readable description of the failure. |
| Exception | innerException | The underlying failure. |
Remarks
Initializes a new instance of PolicyEvaluationException.
Properties
| Edit this page View SourcePolicyName
The name of the policy that failed.
Declaration
public string PolicyName { get; }
Property Value
| Type | Description |
|---|---|
| string |