Craft 3 Class Reference

Class craft\errors\InvalidPluginException

Inheritance
craft\errors\InvalidPluginException » yii\base\Exception » Exception
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/errors/InvalidPluginException.php

Class InvalidPluginException

Public Properties
Property Type Description Defined By
$handle string, null The invalid plugin handle craft\errors\InvalidPluginException
Public Methods
Method Description Defined By
__construct() Constructor. craft\errors\InvalidPluginException
getName() craft\errors\InvalidPluginException

Property Details

$handle public property #

The invalid plugin handle

public string, null $handle null

Method Details

__construct() public method #

Constructor.

public void __construct ( \craft\errors\string $handle, \craft\errors\string $message null, \craft\errors\int $code 0 )
$handle string The plugin handle that doesn’t exist or doesn’t extend/implement \craft\errors\craft\base\PluginInterface
$message string, null The error message
$code integer The error code

getName() public method #

public string getName ( )
return string The user-friendly name of this exception