LANCommander/LANCommander.SDK/Exceptions/ApiVersionMismatchException.cs
2026-07-07 01:50:25 -05:00

17 lines
447 B
C#

using Semver;
using System;
namespace LANCommander.SDK.Exceptions
{
public class ApiVersionMismatchException : Exception
{
public SemVersion ClientVersion { get; }
public SemVersion ServerVersion { get; }
public ApiVersionMismatchException(SemVersion client, SemVersion server, string message) : base(message)
{
ClientVersion = client;
ServerVersion = server;
}
}
}