Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory Class Reference

Public Member Functions

 newErrorResponseFromException (UseCaseError $e)
 
 newErrorResponse (string $code, string $message, array $context=null)
 

Private Member Functions

 newFrameworkAlikePermissionDeniedResponse ()
 

Detailed Description

Member Function Documentation

◆ newErrorResponse()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::newErrorResponse ( string $code,
string $message,
array $context = null )

◆ newErrorResponseFromException()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::newErrorResponseFromException ( UseCaseError $e)

◆ newFrameworkAlikePermissionDeniedResponse()

Wikibase\Repo\RestApi\RouteHandlers\ResponseFactory::newFrameworkAlikePermissionDeniedResponse ( )
private

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