Class IntentShapeMismatchException
- Namespace
- IntentSharp.Catalog
- Assembly
- IntentSharp.Catalog.dll
RunAsync<T> was called with a T the intent's shape cannot produce. The message names the shape and the
requested type. No model is called.
public sealed class IntentShapeMismatchException : IntentSharpException, ISerializable
- Inheritance
-
objectExceptionIntentShapeMismatchException
- 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
- IntentShapeMismatchException(string, string, Type)
Creates the exception. The message names the intent, its shape and the requested type, and says what to ask for instead.
Properties
- IntentName
The intent that was run.
- RequestedType
The type argument
RunAsync<T>was called with.
- ShapeDescription
The shape as text, for example
int (primitive shape)orInvoice (clr shape).