Class GuardrailPolicyException
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
Thrown by Ensure(GuardrailDecision) when a guardrail decision does not allow the operation. The operation did not run; Decision says why.
public sealed class GuardrailPolicyException : IntentSharpException, ISerializable
- Inheritance
-
objectExceptionGuardrailPolicyException
- Implements
-
ISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.GetType()Exception.ToString()Exception.DataException.HelpLinkException.HResultException.InnerExceptionException.MessageException.SourceException.StackTraceException.TargetSiteobject.Equals(object)object.Equals(object, object)object.GetHashCode()object.ReferenceEquals(object, object)
- Extension Methods
Constructors
- GuardrailPolicyException(GuardrailDecision)
Creates the exception for a decision that does not allow the operation.
Properties
- Decision
The decision that refused the operation.