InvalidPluginException

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

Class InvalidPluginException

View source

Public Properties

PropertyDescription
$handlestring, null – The invalid plugin handle

$handle

Type
string, null

The invalid plugin handle

View source

Signature

public string, null $handle = null

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

Signature

public void __construct ( \craft\errors\string $handle, \craft\errors\string $message = null, \craft\errors\int $code = 0 )

getName()

View source

Returns

string – The user-friendly name of this exception

Signature

public string getName ( )