LANCommander/LANCommander.SDK/Exceptions/ApiVersionMismatchException.cs

18 lines
447 B
C#
Raw Permalink Normal View History

using Semver;
using System;
namespace LANCommander.SDK.Exceptions
{
public class ApiVersionMismatchException : Exception
{
2026-07-07 01:50:25 -05:00
public SemVersion ClientVersion { get; }
public SemVersion ServerVersion { get; }
2026-07-07 01:50:25 -05:00
public ApiVersionMismatchException(SemVersion client, SemVersion server, string message) : base(message)
{
ClientVersion = client;
ServerVersion = server;
}
}
}