Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Api\EntitySearchException Class Reference

Exception thrown by EntitySearchHelper implementation when an unrecoverable backend error occurs. More...

+ Inheritance diagram for Wikibase\Repo\Api\EntitySearchException:
+ Collaboration diagram for Wikibase\Repo\Api\EntitySearchException:

Public Member Functions

 __construct (Status $status, string $message="")
 
 getStatus ()
 Error status as returned by the backend driver. More...
 

Private Attributes

 $status
 

Detailed Description

Exception thrown by EntitySearchHelper implementation when an unrecoverable backend error occurs.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Api\EntitySearchException::__construct ( Status  $status,
string  $message = "" 
)
Parameters
Status$statusstatus with errors
String$message

Member Function Documentation

◆ getStatus()

Wikibase\Repo\Api\EntitySearchException::getStatus ( )

Error status as returned by the backend driver.

Returns
Status

Member Data Documentation

◆ $status

Wikibase\Repo\Api\EntitySearchException::$status
private

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