Skip to content

InvalidLicenseKeyException ​

Type
Class
Namespace
craft\errors
Inherits
craft\errors\InvalidLicenseKeyException » yii\base\Exception » Exception
Since
3.0.0

InvalidLicenseKeyException represents an exception caused by setting an invalid license key on a plugin.

View source

Public Properties ​

PropertyDescription
licenseKeystring, null – The license key

licenseKey ​

Type
string, null
Default value
null

The license key

View source

Public Methods ​

MethodDescription
__construct()Constructor.
getName()

__construct() ​

Constructor.

View source

Arguments ​

  • $licenseKey (string) – The invalid license key
  • $message (string, null) – The error message
  • $code (integer) – The error code

getName() ​

View source

Returns ​

string – The user-friendly name of this exception