InvalidPluginException
- Type
- Class
- Namespace
- craft\errors
- Inherits
- craft\errors\InvalidPluginException » yii\base\Exception (opens new window) » Exception (opens new window)
- Since
- 3.0.0
Class InvalidPluginException
View source (opens new window)
# Public Properties
Property | Description |
---|---|
handle | string (opens new window), null (opens new window) – The invalid plugin handle |
# handle
- Type
- string (opens new window), null (opens new window)
- Default value
null
The invalid plugin handle
View source (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor. |
getName() |
# __construct()
Constructor.
View source (opens new window)
Arguments
$handle
(string (opens new window)) – The plugin handle that doesn’t exist or doesn’t extend/implement craft\base\PluginInterface$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