tgstation-server 6.12.0
The /tg/station 13 server suite
|
Occurs when the server returns a bad request response if the ApiException.ErrorCode is present. The server returned an unknown reponse otherwise. More...
Public Member Functions | |
ApiConflictException (ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage) | |
Initializes a new instance of the ApiConflictException class. | |
ApiConflictException () | |
Initializes a new instance of the ApiConflictException class. | |
ApiConflictException (string message) | |
Initializes a new instance of the ApiConflictException class. | |
ApiConflictException (string message, Exception innerException) | |
Initializes a new instance of the ApiConflictException class. | |
Additional Inherited Members | |
Protected Member Functions inherited from Tgstation.Server.Client.ApiException | |
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. | |
Protected Member Functions inherited from Tgstation.Server.Client.ClientException | |
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. | |
Properties inherited from Tgstation.Server.Client.ApiException | |
Version? | ServerApiVersion [get] |
The Version of the server's API. | |
string? | AdditionalServerData [get] |
Additional error data from the server. | |
ErrorCode? | ErrorCode [get] |
The API ErrorCode if applicable. | |
Properties inherited from Tgstation.Server.Client.ClientException | |
HttpResponseMessage? | ResponseMessage [get] |
The HttpStatusCode of the ClientException. | |
Occurs when the server returns a bad request response if the ApiException.ErrorCode is present. The server returned an unknown reponse otherwise.
Definition at line 11 of file ApiConflictException.cs.
Tgstation.Server.Client.ApiConflictException.ApiConflictException | ( | ErrorMessageResponse? | errorMessage, |
HttpResponseMessage | responseMessage | ||
) |
Initializes a new instance of the ApiConflictException class.
errorMessage | The ErrorMessageResponse for the ApiException. |
responseMessage | The HttpResponseMessage for the ClientException. |
Definition at line 18 of file ApiConflictException.cs.
Tgstation.Server.Client.ApiConflictException.ApiConflictException | ( | ) |
Initializes a new instance of the ApiConflictException class.
Definition at line 26 of file ApiConflictException.cs.
Tgstation.Server.Client.ApiConflictException.ApiConflictException | ( | string | message | ) |
Initializes a new instance of the ApiConflictException class.
message | The message for the Exception. |
Definition at line 34 of file ApiConflictException.cs.
Tgstation.Server.Client.ApiConflictException.ApiConflictException | ( | string | message, |
Exception | innerException | ||
) |
Initializes a new instance of the ApiConflictException class.
message | The message for the Exception. |
innerException | The inner Exception for the base Exception. |
Definition at line 44 of file ApiConflictException.cs.