Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Localizer\ChangeOpDeserializationExceptionLocalizer Class Reference

Localizes ChangeOpDeserializationExceptions. More...

+ Inheritance diagram for Wikibase\Repo\Localizer\ChangeOpDeserializationExceptionLocalizer:
+ Collaboration diagram for Wikibase\Repo\Localizer\ChangeOpDeserializationExceptionLocalizer:

Public Member Functions

 hasExceptionMessage (Exception $exception)
 
- Public Member Functions inherited from Wikibase\Repo\Localizer\ExceptionLocalizer
 getExceptionMessage (Exception $ex)
 Returns a Message object containing a localized message representing the exception, in a form appropriate for display to the user.
 

Detailed Description

Localizes ChangeOpDeserializationExceptions.

NOTE: Only exceptions with error codes that prepended with "wikibase-api" form the i18n message key are localized.

Member Function Documentation

◆ hasExceptionMessage()

Wikibase\Repo\Localizer\ChangeOpDeserializationExceptionLocalizer::hasExceptionMessage ( Exception  $exception)
See also
ExceptionLocalizer::hasExceptionMessage()
Parameters
Exception$exception
Returns
bool

Implements Wikibase\Repo\Localizer\ExceptionLocalizer.


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