Class InvalidCollectionQueryArgument

Namespace
Cratis.Arc.Queries
Assembly
Cratis.Arc.Core.dll

The exception that is thrown when a collection query argument contains an invalid element or has a nested collection shape.

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

Constructors

InvalidCollectionQueryArgument(Type, object?)

The exception that is thrown when a collection query argument contains an invalid element or has a nested collection shape.

public InvalidCollectionQueryArgument(Type targetType, object? value)

Parameters

targetType Type

The declared collection type.

value object

The invalid value.

Properties

ValidationResult

Gets the ValidationResult describing why the command is invalid.

public ValidationResult ValidationResult { get; }

Property Value

ValidationResult