Documentation
Table of Contents

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
object
Exception
GuardrailPolicyException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.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.