tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ServerErrorException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5
7{
11 public sealed class ServerErrorException : ApiException
12 {
17 {
18 }
19
25 public ServerErrorException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
26 : base(errorMessage, responseMessage)
27 {
28 }
29
34 public ServerErrorException(string message)
35 : base(message)
36 {
37 }
38
44 public ServerErrorException(string message, Exception innerException)
45 : base(message, innerException)
46 {
47 }
48 }
49}
Represents an error message returned by the server.
Occurs when an error occurs in the server.
ServerErrorException(string message)
Initializes a new instance of the ServerErrorException class.
ServerErrorException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
Initializes a new instance of the ServerErrorException class.
ServerErrorException(string message, Exception innerException)
Initializes a new instance of the ServerErrorException class.
ServerErrorException()
Initializes a new instance of the ServerErrorException class.