|
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;
|
|
}
|
|
}
|