tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UnrecognizedResponseException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5{
10 {
15 public UnrecognizedResponseException(HttpResponseMessage responseMessage)
16 : base(responseMessage, "Unrecognized response body!")
17 {
18 }
19
26
31 public UnrecognizedResponseException(string message)
32 : base(message)
33 {
34 }
35
41 public UnrecognizedResponseException(string message, Exception innerException)
42 : base(message, innerException)
43 {
44 }
45 }
46}
Exceptions thrown by IRestServerClients.
Occurs when a response is received that did not deserialize to one of the expected Api....
UnrecognizedResponseException(HttpResponseMessage responseMessage)
Initializes a new instance of the UnrecognizedResponseException class.
UnrecognizedResponseException(string message, Exception innerException)
Initializes a new instance of the UnrecognizedResponseException class.
UnrecognizedResponseException(string message)
Initializes a new instance of the UnrecognizedResponseException class.
UnrecognizedResponseException()
Initializes a new instance of the UnrecognizedResponseException class.