InvalidPluginException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\InvalidPluginException » yii\base\Exception » Exception
Since
3.0.0

Class InvalidPluginException

View source

Public Properties

PropertyDescription
handlestring, null – The invalid plugin handle

handle

Type
string, null

The invalid plugin handle

View source

Public Methods

MethodDescription
__construct()Constructor.
getName()

__construct()

Constructor.

View source

Arguments

  • $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()

View source

Returns

string – The user-friendly name of this exception