Class ReadModelValidatorRequiresCommandPipeline

Namespace
Cratis.Arc.Validation
Assembly
Cratis.Arc.dll

The exception that is thrown when a validator that depends on a command-scoped read model is used through the MVC controller model-validation path, which runs before a command context is established.

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

Constructors

ReadModelValidatorRequiresCommandPipeline(Type, Exception)

The exception that is thrown when a validator that depends on a command-scoped read model is used through the MVC controller model-validation path, which runs before a command context is established.

public ReadModelValidatorRequiresCommandPipeline(Type modelType, Exception innerException)

Parameters

modelType Type

The command/model type whose validator could not be constructed.

innerException Exception

The underlying exception that occurred while constructing the validator.