Class InvalidLookUpBy

Namespace
Cratis.Arc.Commands
Assembly
Cratis.Arc.Core.dll

The exception that is thrown when a lookup declaration names no command property or targets no read model.

public class InvalidLookUpBy : Exception, ISerializable
Inheritance
InvalidLookUpBy
Implements
Inherited Members
Extension Methods

Constructors

InvalidLookUpBy(Type, string)

The exception that is thrown when a lookup declaration names no command property or targets no read model.

public InvalidLookUpBy(Type commandType, string property)

Parameters

commandType Type

The command type.

property string

The declared command property.

InvalidLookUpBy(Type, string, string)

Initializes a refusal for a lookup that cannot select this model's key.

public InvalidLookUpBy(Type commandType, string property, string reason)

Parameters

commandType Type

The command type.

property string

The declared command property.

reason string

Why this lookup is not supported.

Properties

Message

public override string Message { get; }

Property Value

string