Class ValidationFailureException
the exception thrown when validation failure occurs.
inspect the Failures
property for details.
Inheritance
System.Object
System.Exception
ValidationFailureException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public class ValidationFailureException : Exception, ISerializable
Constructors
ValidationFailureException()
the exception thrown when validation failure occurs.
inspect the Failures
property for details.
Declaration
public ValidationFailureException()
ValidationFailureException(IEnumerable<ValidationFailure>, String)
the exception thrown when validation failure occurs.
inspect the Failures
property for details.
Declaration
public ValidationFailureException(IEnumerable<ValidationFailure> failures, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<FluentValidation.Results.ValidationFailure> | failures | |
System.String | message |
ValidationFailureException(String, Exception)
the exception thrown when validation failure occurs.
inspect the Failures
property for details.
Declaration
public ValidationFailureException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
ValidationFailureException(String)
the exception thrown when validation failure occurs.
inspect the Failures
property for details.
Declaration
public ValidationFailureException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Properties
Failures
the collection of failures that have occured.
Declaration
public IEnumerable<ValidationFailure> Failures { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<FluentValidation.Results.ValidationFailure> |
Implements
System.Runtime.Serialization.ISerializable