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.
|
|
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 ) |
Reports the exception to the MessageReporter defined in the constructor call.
- See also
- ExceptionHandler::handleException()
- Parameters
-
Exception | $exception | |
string | $errorCode | |
string | $explanation | |
Implements Wikibase\Lib\Reporting\ExceptionHandler.
◆ $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: