using System; using System.Net.Http; using Tgstation.Server.Api.Models.Response; namespace Tgstation.Server.Client { /// /// Occurs when the API version of the client is not compatible with the server's. /// public sealed class VersionMismatchException : ApiException { /// /// Initializes a new instance of the class. /// /// The for the . /// The for the . public VersionMismatchException(ErrorMessageResponse? errorMessage, HttpResponseMessage responseMessage) : base(errorMessage, responseMessage) { } /// /// Initializes a new instance of the class. /// public VersionMismatchException() { } /// /// Initializes a new instance of the class. /// /// The message for the . public VersionMismatchException(string message) : base(message) { } /// /// Initializes a new instance of the class. /// /// The message for the . /// The inner for the base . public VersionMismatchException(string message, Exception innerException) : base(message, innerException) { } } }