Elgg  Version 6.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Elgg\Exceptions\PluginException Class Reference
Inheritance diagram for Elgg\Exceptions\PluginException:
Elgg\Exceptions\Exception Elgg\Exceptions\ExceptionInterface Elgg\Exceptions\Plugin\ComposerException Elgg\Exceptions\Plugin\ConflictException Elgg\Exceptions\Plugin\IdMismatchException Elgg\Exceptions\Plugin\PhpExtensionException Elgg\Exceptions\Plugin\PhpVersionException

Public Member Functions

 __construct (string $message= '', int $code=0,\Throwable $previous=null)
 {} More...
 

Static Public Member Functions

static factory (array $options=[])
 Create a new instance of a PluginException. More...
 

Public Attributes

ElggPlugin $plugin
 

Detailed Description

Definition at line 12 of file PluginException.php.

Constructor & Destructor Documentation

Elgg\Exceptions\PluginException::__construct ( string  $message = '',
int  $code = 0,
\Throwable  $previous = null 
)

{}

Definition at line 19 of file PluginException.php.

Member Function Documentation

static Elgg\Exceptions\PluginException::factory ( array  $options = [])
static

Create a new instance of a PluginException.

Parameters
array$optionsadditional options for the exception, supports
  • <string> message: exception message
  • <int> code: exception code
  • <Throwable> previous: previous exception
  • <ElggPlugin> plugin: the plugin that caused this exception
Returns
self

Definition at line 38 of file PluginException.php.

Member Data Documentation

ElggPlugin Elgg\Exceptions\PluginException::$plugin

Definition at line 14 of file PluginException.php.


The documentation for this class was generated from the following file: