InvalidLicenseKeyException
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\InvalidLicenseKeyException » yii\base\Exception (opens new window) » Exception (opens new window)
- Since
- 3.0.0
InvalidLicenseKeyException represents an exception caused by setting an invalid license key on a plugin.
View source (opens new window)
# Public Properties
Property | Description |
---|---|
licenseKey | string (opens new window) – The license key |
# licenseKey
- Type
- string (opens new window)
- Default value
null
The license key
View source (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor. |
getName() |
# __construct()
Constructor.
View source (opens new window)
Arguments
$licenseKey
(string (opens new window)) – The invalid license key$message
(string (opens new window), null (opens new window)) – The error message$code
(integer (opens new window)) – The error code
# getName()
View source (opens new window)
Returns
string (opens new window) – The user-friendly name of this exception