Elgg  Version master
Public Member Functions | Static Public Member Functions | 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...
 

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 17 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 36 of file PluginException.php.


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