|
Wikibase
MediaWiki Wikibase extension
|
Interface for objects that can handle exceptions. More...
Inheritance diagram for Wikibase\Lib\Reporting\ExceptionHandler:Public Member Functions | |
| handleException (Exception $exception, $errorCode, $explanation) | |
| Handle the given exception. | |
Interface for objects that can handle exceptions.
| Wikibase\Lib\Reporting\ExceptionHandler::handleException | ( | Exception | $exception, |
| $errorCode, | |||
| $explanation ) |
Handle the given exception.
Typical ways to handle an exception are to re-throw it, ignore it or log it.
| Exception | $exception | |
| string | $errorCode | |
| string | $explanation |
Implemented in Wikibase\Lib\Reporting\LogWarningExceptionHandler, Wikibase\Lib\Reporting\ReportingExceptionHandler, and Wikibase\Lib\Reporting\RethrowingExceptionHandler.