Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementErrorResponse Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementErrorResponse:
+ Collaboration diagram for Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementErrorResponse:

Static Public Member Functions

static newFromValidationError (ValidationError $validationError)
 

Additional Inherited Members

- Public Member Functions inherited from Wikibase\Repo\RestApi\UseCases\ErrorResponse
 __construct (string $code, string $message)
 
 getCode ()
 
 getMessage ()
 
- Public Attributes inherited from Wikibase\Repo\RestApi\UseCases\ErrorResponse
const COMMENT_TOO_LONG = 'comment-too-long'
 
const INVALID_EDIT_TAG = 'invalid-edit-tag'
 
const INVALID_FIELD = 'invalid-field'
 
const INVALID_ITEM_ID = 'invalid-item-id'
 
const INVALID_STATEMENT_ID = 'invalid-statement-id'
 
const INVALID_STATEMENT_DATA = 'invalid-statement-data'
 
const INVALID_OPERATION_CHANGED_STATEMENT_ID = 'invalid-operation-change-statement-id'
 
const INVALID_OPERATION_CHANGED_PROPERTY = 'invalid-operation-change-property-of-statement'
 
const ITEM_NOT_FOUND = 'item-not-found'
 
const ITEM_REDIRECTED = 'redirected-item'
 
const PERMISSION_DENIED = 'permission-denied'
 
const STATEMENT_NOT_FOUND = 'statement-not-found'
 
const UNEXPECTED_ERROR = 'unexpected-error'
 

Detailed Description

Member Function Documentation

◆ newFromValidationError()

static Wikibase\Repo\RestApi\UseCases\AddItemStatement\AddItemStatementErrorResponse::newFromValidationError ( ValidationError  $validationError)
static

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