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 – The license key |
licenseKey
​
- Type
- string
- Default value
null
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