ExceptionLocalizer implementing localization of some well known types of exceptions that may occur in the context of the Wikibase exception, as provided in $localizers.
More...
ExceptionLocalizer implementing localization of some well known types of exceptions that may occur in the context of the Wikibase exception, as provided in $localizers.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Repo\Localizer\DispatchingExceptionLocalizer::__construct |
( |
array |
$localizers | ) |
|
- Parameters
-
ExceptionLocalizer[] | $localizers | |
◆ getExceptionMessage()
Wikibase\Repo\Localizer\DispatchingExceptionLocalizer::getExceptionMessage |
( |
Exception |
$exception | ) |
|
◆ getLocalizerForException()
Wikibase\Repo\Localizer\DispatchingExceptionLocalizer::getLocalizerForException |
( |
Exception |
$exception | ) |
|
|
private |
- Parameters
-
- Returns
- ExceptionLocalizer|null
◆ hasExceptionMessage()
Wikibase\Repo\Localizer\DispatchingExceptionLocalizer::hasExceptionMessage |
( |
Exception |
$exception | ) |
|
- See also
- ExceptionLocalizer::getExceptionMessage()
- Parameters
-
- Returns
- bool Always true, since DispatchingExceptionLocalizer is able to provide a Message for any kind of exception.
Implements Wikibase\Repo\Localizer\ExceptionLocalizer.
◆ $localizers
Wikibase\Repo\Localizer\DispatchingExceptionLocalizer::$localizers |
|
private |
The documentation for this class was generated from the following file: