 | WebServiceErrorResponse Constructor |
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.
Namespace: Orthogonal.Hoarder.StdLib.DTOAssembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.9
Syntaxpublic WebServiceErrorResponse(
int Code,
string Message,
string? Detail,
string? Uri,
string? Stack
)
Parameters
- Code Int32
- Hoarder defined error code.
- Message String
- A shorter error message.
- Detail String
- Optional detailed information about the error.
- Uri String
- Optional Uri for more information on the error.
- Stack String
- Optional stack trace (only available when debugging).
See Also