tgstation-server 6.12.0
The /tg/station 13 server suite
|
Occurs when the client provides invalid credentials. More...
Public Member Functions | |
UnauthorizedException (ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage) | |
Initializes a new instance of the UnauthorizedException class. | |
UnauthorizedException () | |
Initializes a new instance of the UnauthorizedException class. | |
UnauthorizedException (string message) | |
Initializes a new instance of the UnauthorizedException class. | |
UnauthorizedException (string message, Exception innerException) | |
Initializes a new instance of the UnauthorizedException 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 client provides invalid credentials.
Definition at line 11 of file UnauthorizedException.cs.
Tgstation.Server.Client.UnauthorizedException.UnauthorizedException | ( | ErrorMessageResponse? | errorMessage, |
HttpResponseMessage | responseMessage | ||
) |
Initializes a new instance of the UnauthorizedException class.
errorMessage | The ErrorMessageResponse returned by the API. |
responseMessage | The HttpResponseMessage. |
Definition at line 18 of file UnauthorizedException.cs.
Tgstation.Server.Client.UnauthorizedException.UnauthorizedException | ( | ) |
Initializes a new instance of the UnauthorizedException class.
Definition at line 26 of file UnauthorizedException.cs.
Tgstation.Server.Client.UnauthorizedException.UnauthorizedException | ( | string | message | ) |
Initializes a new instance of the UnauthorizedException class.
message | The message for the Exception. |
Definition at line 34 of file UnauthorizedException.cs.
Tgstation.Server.Client.UnauthorizedException.UnauthorizedException | ( | string | message, |
Exception | innerException | ||
) |
Initializes a new instance of the UnauthorizedException class.
message | The message for the Exception. |
innerException | The inner Exception for the base Exception. |
Definition at line 44 of file UnauthorizedException.cs.