tgstation-server
The /tg/station 13 server suite
ConflictException.cs
Go to the documentation of this file.
1 using System;
2 using System.Net;
4 
6 {
10  public sealed class ConflictException : ClientException
11  {
17  public ConflictException(ErrorMessage errorMessage, HttpStatusCode statusCode) : base(errorMessage, statusCode)
18  { }
19 
23  public ConflictException() { }
24 
29  public ConflictException(string message) : base(message) { }
30 
36  public ConflictException(string message, Exception innerException) : base(message, innerException) { }
37  }
38 }
ConflictException()
Construct a ConflictException
ConflictException(string message, Exception innerException)
Construct an ConflictException with a message and innerException
ConflictException(string message)
Construct an ConflictException with a message
ConflictException(ErrorMessage errorMessage, HttpStatusCode statusCode)
Construct an ConflictException with a errorMessage and statusCode
Occurs when the client performs an action that would result in data conflict
Represents an error message returned by the server
Definition: ErrorMessage.cs:8
Exceptions thrown by IServerClients