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
commandTypeTypeThe command declaring the generated value.
namestringThe generated value name.
valueTypeTypeThe declared value type.
failuresIReadOnlyList<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; }