LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Client.ApiException Class Reference

API Exception More...

Inheritance diagram for Lusid.Sdk.Client.ApiException:
Inheritance graph
[legend]

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, object errorContent=null, Multimap< string, string > headers=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...
 
object ErrorContent [get]
 Gets or sets the error content (body json object) More...
 
Multimap< string, string > Headers [get]
 Gets or sets the HTTP headers More...
 

Detailed Description

API Exception

Constructor & Destructor Documentation

◆ ApiException() [1/3]

Lusid.Sdk.Client.ApiException.ApiException ( )
inline

Initializes a new instance of the ApiException class.

◆ ApiException() [2/3]

Lusid.Sdk.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]

Lusid.Sdk.Client.ApiException.ApiException ( int  errorCode,
string  message,
object  errorContent = null,
Multimap< string, string >  headers = null 
)
inline

Initializes a new instance of the ApiException class.

Parameters
errorCodeHTTP status code.
messageError message.
errorContentError content.
headersHTTP Headers.

Property Documentation

◆ ErrorCode

int Lusid.Sdk.Client.ApiException.ErrorCode
getset

Gets or sets the error code (HTTP status code)

The error code (HTTP status code).

◆ ErrorContent

object Lusid.Sdk.Client.ApiException.ErrorContent
get

Gets or sets the error content (body json object)

The error content (Http response body).

◆ Headers

Multimap<string, string> Lusid.Sdk.Client.ApiException.Headers
get

Gets or sets the HTTP headers

HTTP headers


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