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)
 Whether this localizer can handle the given 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 $ex)

Whether this localizer can handle the given exception.

This is intended for use by a dispatcher to determine which localizer can handle a given exception.

Implements Wikibase\Repo\Localizer\ExceptionLocalizer.


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