API related Exceptions.
More...
|
| ApiException (ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage) |
| Initializes a new instance of the ApiException class.
|
|
| ApiException (HttpResponseMessage responseMessage, string message) |
| Initializes a new instance of the ApiException class.
|
|
| ApiException () |
| Initializes a new instance of the ApiException class.
|
|
| ApiException (string message) |
| Initializes a new instance of the ApiException class.
|
|
| ApiException (string message, Exception innerException) |
| Initializes a new instance of the ApiException class.
|
|
| ClientException (HttpResponseMessage responseMessage, string message) |
| Initializes a new instance of the ClientException class.
|
|
| ClientException () |
| Initializes a new instance of the ClientException class.
|
|
| ClientException (string message) |
| Initializes a new instance of the ClientException class.
|
|
| ClientException (string message, Exception innerException) |
| Initializes a new instance of the ClientException class.
|
|
API related Exceptions.
Definition at line 12 of file ApiException.cs.
◆ ApiException() [1/5]
Tgstation.Server.Client.ApiException.ApiException |
( |
ErrorMessageResponse? |
errorMessage, |
|
|
HttpResponseMessage |
responseMessage |
|
) |
| |
|
protected |
◆ ApiException() [2/5]
Tgstation.Server.Client.ApiException.ApiException |
( |
HttpResponseMessage |
responseMessage, |
|
|
string |
message |
|
) |
| |
|
protected |
Initializes a new instance of the ApiException class.
- Parameters
-
responseMessage | The HttpResponseMessage. |
message | The Exception.Message. |
Definition at line 49 of file ApiException.cs.
50 : base(responseMessage, message)
51 {
52 }
◆ ApiException() [3/5]
Tgstation.Server.Client.ApiException.ApiException |
( |
| ) |
|
|
protected |
Initializes a new instance of the ApiException class.
Definition at line 57 of file ApiException.cs.
◆ ApiException() [4/5]
Tgstation.Server.Client.ApiException.ApiException |
( |
string |
message | ) |
|
|
protected |
Initializes a new instance of the ApiException class.
- Parameters
-
Definition at line 65 of file ApiException.cs.
66 : base(message)
67 {
68 }
◆ ApiException() [5/5]
Tgstation.Server.Client.ApiException.ApiException |
( |
string |
message, |
|
|
Exception |
innerException |
|
) |
| |
|
protected |
Initializes a new instance of the ApiException class.
- Parameters
-
Definition at line 75 of file ApiException.cs.
76 : base(message, innerException)
77 {
78 }
◆ AdditionalServerData
string? Tgstation.Server.Client.ApiException.AdditionalServerData |
|
get |
◆ ErrorCode
ErrorCode? Tgstation.Server.Client.ApiException.ErrorCode |
|
get |
◆ ServerApiVersion
Version? Tgstation.Server.Client.ApiException.ServerApiVersion |
|
get |
The documentation for this class was generated from the following file: