Show / Hide Table of Contents

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 Source

ErrorCode

An optional error code for the error

Declaration
public string ErrorCode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Message

The, optional, validation message

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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.String
| Improve this Doc View Source

Severity

The severity of the error

Declaration
public SeverityEnum Severity { get; set; }
Property Value
Type Description
SeverityEnum

Extension Methods

OpenApiFluentValidationHelper.IsNumeric(Object)
OpenApiFluentValidationHelper.NumericToInt(Object)
OpenApiFluentValidationHelper.NumericToDouble(Object)
OpenApiFluentValidationHelper.NumericToDecimal(Object)
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall