Click or drag to resize

WebServiceErrorResponse Class

Encapsulates 'standard' error information returned in the body of any response that is not status 200 (OK). Hoarder only officially returns responses with status codes 200 (OK) and 403 (Unauthorized). A status of 500 (InternalServerError) indicates a server-side unhandled exception, probably a bug. Any response with status other than 200 will contain a serialized instance of this class.
Inheritance Hierarchy
SystemObject
  Orthogonal.Hoarder.StdLib.DTOWebServiceErrorResponse

Namespace: Orthogonal.Hoarder.StdLib.DTO
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntax
C#
public sealed class WebServiceErrorResponse : IEquatable<WebServiceErrorResponse>

The WebServiceErrorResponse type exposes the following members.

Constructors
 NameDescription
Public methodWebServiceErrorResponse Encapsulates 'standard' error information returned in the body of any response that is not status 200 (OK). Hoarder only officially returns responses with status codes 200 (OK) and 403 (Unauthorized). A status of 500 (InternalServerError) indicates a server-side unhandled exception, probably a bug. Any response with status other than 200 will contain a serialized instance of this class.
Top
Properties
 NameDescription
Public propertyCodeHoarder defined error code.
Public propertyDetailOptional detailed information about the error.
Public propertyMessageA shorter error message.
Public propertyStackOptional stack trace (only available when debugging).
Public propertyUriOptional Uri for more information on the error.
Top
Methods
See Also