ironlicensing-dotnet/Exceptions/LicenseRequiredException.cs

13 lines
304 B
C#

namespace IronLicensing.Client.Exceptions;
public class LicenseRequiredException : Exception
{
public string FeatureKey { get; }
public LicenseRequiredException(string featureKey)
: base($"Feature '{featureKey}' requires a valid license")
{
FeatureKey = featureKey;
}
}