ValidationException
An exception that represents failed validation
Assembly: ServiceStack.dll
View Source
Declaration
[Serializable]
public class ValidationException : Exception, ISerializable, _Exception, IResponseStatusConvertible
Properties
Errors
Validation errors
View Source
Declaration
public IEnumerable<ValidationFailure> Errors { get; }
Methods
GetObjectData(SerializationInfo, StreamingContext)
View Source
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name |
---|---|
System.Runtime.Serialization.SerializationInfo | info |
System.Runtime.Serialization.StreamingContext | context |
ToResponseStatus()
View Source
Declaration
public ResponseStatus ToResponseStatus()
Returns
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
- ServiceStack.Model.IResponseStatusConvertible