Class RestException
public class RestException : Exception, ISerializable
- Inheritance
-
RestException
- Implements
- Inherited Members
Constructors
RestException(HttpStatusCode, string?)
public RestException(HttpStatusCode statusCode, string? reasonPhrase)
Parameters
statusCode
HttpStatusCodereasonPhrase
string
RestException(HttpStatusCode, string?, RestError)
public RestException(HttpStatusCode statusCode, string? reasonPhrase, RestError error)
Parameters
statusCode
HttpStatusCodereasonPhrase
stringerror
RestError
Properties
Error
public RestError? Error { get; }
Property Value
ReasonPhrase
public string? ReasonPhrase { get; }
Property Value
StatusCode
public HttpStatusCode StatusCode { get; }