Class ValidationError
Represents a validation error
Inheritance
System.Object
ValidationError
Namespace: FunctionMonkey.Commanding.Abstractions.Validation
Assembly: FunctionMonkey.Commanding.Abstractions.dll
Syntax
public class ValidationError : object
Properties
| Improve this Doc View SourceErrorCode
An optional error code for the error
Declaration
public string ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
System. |
Message
The, optional, validation message
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System. |
Property
The, optional, name of the property that the error is in relation to
Declaration
public string Property { get; set; }
Property Value
Type | Description |
---|---|
System. |
Severity
The severity of the error
Declaration
public SeverityEnum Severity { get; set; }
Property Value
Type | Description |
---|---|
Severity |