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.
Public Properties ​
Property | Description |
---|---|
licenseKey | string, null – The license key |
licenseKey
​
The license key
Public Methods ​
Method | Description |
---|---|
__construct() | Constructor. |
getName() |
__construct()
​
Constructor.
Arguments ​
$licenseKey
(string) – The invalid license key$message
(string, null) – The error message$code
(integer) – The error code
getName()
​
Returns ​
string – The user-friendly name of this exception