Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Localizer\GenericExceptionLocalizer Class Reference
+ Inheritance diagram for Wikibase\Repo\Localizer\GenericExceptionLocalizer:
+ Collaboration diagram for Wikibase\Repo\Localizer\GenericExceptionLocalizer:

Public Member Functions

 getExceptionMessage (Exception $exception)
 
 hasExceptionMessage (Exception $exception)
 

Detailed Description

Author
Daniel Kinzler
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Member Function Documentation

◆ getExceptionMessage()

Wikibase\Repo\Localizer\GenericExceptionLocalizer::getExceptionMessage ( Exception  $exception)
See also
ExceptionLocalizer::getExceptionMessage()
Parameters
Exception$exception
Returns
Message

Implements Wikibase\Repo\Localizer\ExceptionLocalizer.

◆ hasExceptionMessage()

Wikibase\Repo\Localizer\GenericExceptionLocalizer::hasExceptionMessage ( Exception  $exception)
See also
ExceptionLocalizer::getExceptionMessage()
Parameters
Exception$exception
Returns
bool Always true, since DispatchingExceptionLocalizer is able to provide a Message for any kind of exception.

Implements Wikibase\Repo\Localizer\ExceptionLocalizer.


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