Skip to main content

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
TypeName
System.Runtime.Serialization.SerializationInfoinfo
System.Runtime.Serialization.StreamingContextcontext

ToResponseStatus()

View Source
Declaration
public ResponseStatus ToResponseStatus()
Returns

ServiceStack.ResponseStatus

Implements