ReportingExceptionHandler reports exceptions to a MessageReporter.
More...
|
| __construct (MessageReporter $reporter, array $ignored=[]) |
|
| handleException (Exception $exception, $errorCode, $explanation) |
| Reports the exception to the MessageReporter defined in the constructor call. More...
|
|
ReportingExceptionHandler reports exceptions to a MessageReporter.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
Wikibase\Lib\Reporting\ReportingExceptionHandler::__construct |
( |
MessageReporter |
$reporter, |
|
|
array |
$ignored = [] |
|
) |
| |
◆ handleException()
Wikibase\Lib\Reporting\ReportingExceptionHandler::handleException |
( |
Exception |
$exception, |
|
|
|
$errorCode, |
|
|
|
$explanation |
|
) |
| |
◆ $ignored
Wikibase\Lib\Reporting\ReportingExceptionHandler::$ignored |
|
private |
◆ $reporter
Wikibase\Lib\Reporting\ReportingExceptionHandler::$reporter |
|
protected |
The documentation for this class was generated from the following file: