tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
VersionMismatchException.cs
Go to the documentation of this file.
1using System;
2using System.Net.Http;
3
5
7{
12 {
18 public VersionMismatchException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
19 : base(errorMessage, responseMessage)
20 {
21 }
22
27 {
28 }
29
34 public VersionMismatchException(string message)
35 : base(message)
36 {
37 }
38
44 public VersionMismatchException(string message, Exception innerException)
45 : base(message, innerException)
46 {
47 }
48 }
49}
Represents an error message returned by the server.
Occurs when the API version of the client is not compatible with the server's.
VersionMismatchException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage)
Initializes a new instance of the VersionMismatchException class.
VersionMismatchException(string message)
Initializes a new instance of the VersionMismatchException class.
VersionMismatchException()
Initializes a new instance of the VersionMismatchException class.
VersionMismatchException(string message, Exception innerException)
Initializes a new instance of the VersionMismatchException class.