tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ServiceUnavailableException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5{
10 {
15 public ServiceUnavailableException(HttpResponseMessage responseMessage)
16 : base(responseMessage, "The service is unavailable!")
17 {
18 }
19
24 {
25 }
26
31 public ServiceUnavailableException(string message)
32 : base(message)
33 {
34 }
35
41 public ServiceUnavailableException(string message, Exception innerException)
42 : base(message, innerException)
43 {
44 }
45 }
46}
Exceptions thrown by IRestServerClients.
Occurs when the client makes a request while the server is starting or stopping.
ServiceUnavailableException(string message, Exception innerException)
Initializes a new instance of the ServiceUnavailableException class.
ServiceUnavailableException(HttpResponseMessage responseMessage)
Initializes a new instance of the ServiceUnavailableException class.
ServiceUnavailableException(string message)
Initializes a new instance of the ServiceUnavailableException class.
ServiceUnavailableException()
Initializes a new instance of the ServiceUnavailableException class.