Class SDKException
public class SDKException : Exception, ISerializable
- Inheritance
-
SDKException
- Implements
- Inherited Members
Constructors
SDKException(string, int, string, HttpResponseMessage)
public SDKException(string message, int statusCode, string body, HttpResponseMessage rawResponse)
Parameters
message
stringstatusCode
intbody
stringrawResponse
HttpResponseMessage
Properties
Body
public string Body { get; set; }
Property Value
Message
Gets a message that describes the current exception.
public override string Message { get; }
Property Value
- string
The error message that explains the reason for the exception, or an empty string ("").
RawResponse
public HttpResponseMessage RawResponse { get; set; }
Property Value
StatusCode
public int StatusCode { get; set; }
Property Value
Methods
ToString()
Creates and returns a string representation of the current exception.
public override string ToString()
Returns
- string
A string representation of the current exception.