DocuSign CSharp Docs
Public Member Functions | Properties | List of all members
DocuSign.eSign.Client.ApiException Class Reference

API Exception More...

Inheritance diagram for DocuSign.eSign.Client.ApiException:

Public Member Functions

 ApiException ()
 Initializes a new instance of the ApiException class. More...
 
 ApiException (int errorCode, string message)
 Initializes a new instance of the ApiException class. More...
 
 ApiException (int errorCode, string message, dynamic errorContent=null, DocuSignResponse response=null)
 Initializes a new instance of the ApiException class. More...
 

Properties

int ErrorCode [get, set]
 Gets or sets the error code (HTTP status code) More...
 
dynamic ErrorContent [get]
 Gets or sets the error content (body json object) More...
 
string ErrorMessage [get, set]
 Gets or sets the error message More...
 
IDictionary< string, string > Headers [get]
 Gets or sets the HTTP headers More...
 

Detailed Description

API Exception

Constructor & Destructor Documentation

◆ ApiException() [1/3]

DocuSign.eSign.Client.ApiException.ApiException ( )
inline

Initializes a new instance of the ApiException class.

◆ ApiException() [2/3]

DocuSign.eSign.Client.ApiException.ApiException ( int  errorCode,
string  message 
)
inline

Initializes a new instance of the ApiException class.

Parameters
errorCodeHTTP status code.
messageError message.

◆ ApiException() [3/3]

DocuSign.eSign.Client.ApiException.ApiException ( int  errorCode,
string  message,
dynamic  errorContent = null,
DocuSignResponse  response = null 
)
inline

Initializes a new instance of the ApiException class.

Parameters
errorCodeHTTP status code.
messageError message.
errorContentError content.
responseDocuSignResponse object.

Property Documentation

◆ ErrorCode

int DocuSign.eSign.Client.ApiException.ErrorCode
getset

Gets or sets the error code (HTTP status code)

The error code (HTTP status code).

◆ ErrorContent

dynamic DocuSign.eSign.Client.ApiException.ErrorContent
get

Gets or sets the error content (body json object)

The error content (Http response body).

◆ ErrorMessage

string DocuSign.eSign.Client.ApiException.ErrorMessage
getset

Gets or sets the error message

The error message.

◆ Headers

IDictionary<string, string> DocuSign.eSign.Client.ApiException.Headers
get

Gets or sets the HTTP headers

HTTP headers


The documentation for this class was generated from the following file: