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