Class GeneratedValueRejected

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

The exception that is thrown when a server-generated value fails validation.

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

Constructors

GeneratedValueRejected(Type, string, Type, IReadOnlyList<string>)

The exception that is thrown when a server-generated value fails validation.

public GeneratedValueRejected(Type commandType, string name, Type valueType, IReadOnlyList<string> failures)

Parameters

commandType Type

The command declaring the generated value.

name string

The generated value name.

valueType Type

The declared value type.

failures IReadOnlyList<string>

The validator failures, which may contain sensitive values and must not be logged.

Properties

Failures

Gets the validator failures. These may contain sensitive values and must not be logged or traced.

public IReadOnlyList<string> Failures { get; }

Property Value

IReadOnlyList<string>