Skip to main content

WebServiceException

Assembly: ServiceStack.Client.dll
View Source
Declaration
[Serializable]
public class WebServiceException : Exception, ISerializable, _Exception, IHasStatusCode, IHasStatusDescription, IResponseStatusConvertible, IHasResponseStatus

Properties

StatusCode

View Source
Declaration
public int StatusCode { get; set; }

StatusDescription

View Source
Declaration
public string StatusDescription { get; set; }

ResponseHeaders

View Source
Declaration
public WebHeaderCollection ResponseHeaders { get; set; }

ResponseDto

View Source
Declaration
public object ResponseDto { get; set; }

ResponseBody

View Source
Declaration
public string ResponseBody { get; set; }

Message

View Source
Declaration
public override string Message { get; }

ErrorCode

View Source
Declaration
public string ErrorCode { get; }

ErrorMessage

View Source
Declaration
public string ErrorMessage { get; }

ServerStackTrace

View Source
Declaration
public string ServerStackTrace { get; }

State

View Source
Declaration
public object State { get; set; }

ResponseStatus

View Source
Declaration
public ResponseStatus ResponseStatus { get; set; }

Fields

log

View Source
Declaration
public static ILog log

Methods

ToResponseStatus()

View Source
Declaration
public ResponseStatus ToResponseStatus()
Returns

ServiceStack.ResponseStatus

GetFieldErrors()

View Source
Declaration
public List<ResponseError> GetFieldErrors()
Returns

System.Collections.Generic.List<ServiceStack.ResponseError>

IsAny400()

View Source
Declaration
public bool IsAny400()
Returns

System.Boolean

IsAny500()

View Source
Declaration
public bool IsAny500()
Returns

System.Boolean

ToString()

View Source
Declaration
public override string ToString()
Returns

System.String

Implements