Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCases\UseCaseError Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Application\UseCases\UseCaseError:
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\UseCases\UseCaseError:

Public Member Functions

 __construct (string $code, string $message, array $context=[])
 
 getErrorCode ()
 
 getErrorMessage ()
 
 getErrorContext ()
 

Public Attributes

const ALIASES_NOT_DEFINED = 'aliases-not-defined'
 
const ALIAS_EMPTY = 'alias-empty'
 
const ALIAS_LIST_EMPTY = 'alias-list-empty'
 
const ALIAS_TOO_LONG = 'alias-too-long'
 
const ALIAS_DUPLICATE = 'duplicate-alias'
 
const INVALID_ALIAS_LIST = 'invalid-alias-list'
 
const INVALID_ALIAS = 'invalid-alias'
 
const COMMENT_TOO_LONG = 'comment-too-long'
 
const DESCRIPTION_EMPTY = 'description-empty'
 
const DESCRIPTION_NOT_DEFINED = 'description-not-defined'
 
const DESCRIPTION_TOO_LONG = 'description-too-long'
 
const INVALID_PATH_PARAMETER = 'invalid-path-parameter'
 
const INVALID_DESCRIPTION = 'invalid-description'
 
const INVALID_EDIT_TAG = 'invalid-edit-tag'
 
const INVALID_LABEL = 'invalid-label'
 
const INVALID_LANGUAGE_CODE = 'invalid-language-code'
 
const INVALID_OPERATION_CHANGED_PROPERTY = 'invalid-operation-change-property-of-statement'
 
const INVALID_OPERATION_CHANGED_STATEMENT_ID = 'invalid-operation-change-statement-id'
 
const INVALID_PATCH = 'invalid-patch'
 
const INVALID_PATCH_FIELD_TYPE = 'invalid-patch-field-type'
 
const INVALID_PATCH_OPERATION = 'invalid-patch-operation'
 
const INVALID_PROPERTY_ID = 'invalid-property-id'
 
const INVALID_QUERY_PARAMETER = 'invalid-query-parameter'
 
const INVALID_SITE_ID = 'invalid-site-id'
 
const INVALID_STATEMENT_TYPE = 'invalid-statement-type'
 
const INVALID_STATEMENT_SUBJECT_ID = 'invalid-statement-subject-id'
 
const ITEM_LABEL_DESCRIPTION_DUPLICATE = 'item-label-description-duplicate'
 
const ITEM_NOT_FOUND = 'item-not-found'
 
const ITEM_REDIRECTED = 'redirected-item'
 
const ITEM_DATA_INVALID_FIELD = 'item-data-invalid-field'
 
const ITEM_DATA_UNEXPECTED_FIELD = 'unexpected-field'
 
const ITEM_STATEMENT_ID_MISMATCH = 'item-statement-id-mismatch'
 
const LABEL_DESCRIPTION_SAME_VALUE = 'label-description-same-value'
 
const LABEL_EMPTY = 'label-empty'
 
const LABEL_NOT_DEFINED = 'label-not-defined'
 
const LABEL_TOO_LONG = 'label-too-long'
 
const MISSING_JSON_PATCH_FIELD = 'missing-json-patch-field'
 
const PATCHED_ITEM_LABEL_DESCRIPTION_DUPLICATE = 'patched-item-label-description-duplicate'
 
const PATCHED_ITEM_LABEL_DESCRIPTION_SAME_VALUE = 'patched-item-label-description-same-value'
 
const PATCHED_ITEM_UNEXPECTED_FIELD = 'patched-item-unexpected-field'
 
const PATCHED_ITEM_INVALID_FIELD = 'patched-item-invalid-field'
 
const PATCHED_ITEM_INVALID_OPERATION_CHANGE_ITEM_ID = 'patched-item-invalid-operation-change-item-id'
 
const PATCHED_PROPERTY_LABEL_DESCRIPTION_SAME_VALUE = 'patched-property-label-description-same-value'
 
const PATCHED_PROPERTY_LABEL_DUPLICATE = 'patched-property-label-duplicate'
 
const PATCHED_PROPERTY_INVALID_FIELD = 'patched-property-invalid-field'
 
const PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_DATATYPE
 
const PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_ID = 'patched-property-invalid-operation-change-property-id'
 
const PATCHED_PROPERTY_MISSING_FIELD = 'patched-property-missing-field'
 
const PATCHED_PROPERTY_UNEXPECTED_FIELD = 'patched-property-unexpected-field'
 
const PATCHED_LABEL_EMPTY = 'patched-label-empty'
 
const PATCHED_LABEL_INVALID = 'patched-label-invalid'
 
const PATCHED_LABEL_INVALID_LANGUAGE_CODE = 'patched-labels-invalid-language-code'
 
const PATCHED_LABEL_TOO_LONG = 'patched-label-too-long'
 
const PATCHED_DESCRIPTION_EMPTY = 'patched-description-empty'
 
const PATCHED_DESCRIPTION_INVALID = 'patched-description-invalid'
 
const PATCHED_DESCRIPTION_INVALID_LANGUAGE_CODE = 'patched-descriptions-invalid-language-code'
 
const PATCHED_DESCRIPTION_TOO_LONG = 'patched-description-too-long'
 
const PATCHED_ALIAS_EMPTY = 'patched-alias-empty'
 
const PATCHED_ALIASES_INVALID_FIELD = 'patched-aliases-invalid-field'
 
const PATCHED_ALIASES_INVALID_LANGUAGE_CODE = 'patched-aliases-invalid-language-code'
 
const PATCHED_ALIAS_TOO_LONG = 'patched-alias-too-long'
 
const PATCHED_ALIAS_DUPLICATE = 'patched-duplicate-alias'
 
const PATCHED_STATEMENT_INVALID_FIELD = 'patched-statement-invalid-field'
 
const PATCHED_STATEMENT_MISSING_FIELD = 'patched-statement-missing-field'
 
const PATCHED_SITELINK_INVALID_SITE_ID = 'patched-sitelink-invalid-site-id'
 
const PATCHED_SITELINK_MISSING_TITLE = 'patched-sitelink-missing-title'
 
const PATCHED_SITELINK_TITLE_EMPTY = 'patched-sitelink-title-empty'
 
const PATCHED_SITELINK_INVALID_TITLE = 'patched-sitelink-invalid-title'
 
const PATCHED_SITELINK_TITLE_DOES_NOT_EXIST = 'patched-sitelink-title-does-not-exist'
 
const PATCHED_SITELINK_INVALID_BADGE = 'patched-sitelink-invalid-badge'
 
const PATCHED_SITELINK_ITEM_NOT_A_BADGE = 'patched-sitelink-item-not-a-badge'
 
const PATCHED_SITELINK_CONFLICT = 'patched-sitelink-conflict'
 
const PATCHED_SITELINK_URL_NOT_MODIFIABLE = 'url-not-modifiable'
 
const PATCHED_SITELINK_BADGES_FORMAT = 'patched-sitelink-badges-format'
 
const PATCHED_INVALID_SITELINK_TYPE = 'patched-invalid-sitelink-type'
 
const PATCH_TARGET_NOT_FOUND = 'patch-target-not-found'
 
const PATCH_TEST_FAILED = 'patch-test-failed'
 
const PERMISSION_DENIED = 'permission-denied'
 
const PROPERTY_NOT_FOUND = 'property-not-found'
 
const PROPERTY_LABEL_DUPLICATE = 'property-label-duplicate'
 
const PROPERTY_STATEMENT_ID_MISMATCH = 'property-statement-id-mismatch'
 
const SITELINK_CONFLICT = 'sitelink-conflict'
 
const SITELINK_NOT_DEFINED = 'sitelink-not-defined'
 
const SITELINK_DATA_MISSING_TITLE = 'sitelink-data-missing-title'
 
const TITLE_FIELD_EMPTY = 'title-field-empty'
 
const INVALID_TITLE_FIELD = 'invalid-title-field'
 
const INVALID_INPUT_SITELINK_BADGE = 'invalid-input-sitelink-badge'
 
const INVALID_SITELINK_BADGES_FORMAT = 'invalid-sitelink-badges-format'
 
const ITEM_NOT_A_BADGE = 'item-not-a-badge'
 
const INVALID_SITELINK_TYPE = 'invalid-sitelink-type'
 
const SITELINK_TITLE_NOT_FOUND = 'title-does-not-exist'
 
const INVALID_STATEMENT_GROUP_TYPE = 'invalid-statement-group-type'
 
const STATEMENT_DATA_INVALID_FIELD = 'statement-data-invalid-field'
 
const STATEMENT_DATA_MISSING_FIELD = 'statement-data-missing-field'
 
const STATEMENT_NOT_FOUND = 'statement-not-found'
 
const STATEMENT_GROUP_PROPERTY_ID_MISMATCH = 'statement-group-property-id-mismatch'
 
const PATCHED_INVALID_STATEMENT_GROUP_TYPE = 'patched-invalid-statement-group-type'
 
const PATCHED_INVALID_STATEMENT_TYPE = 'patched-invalid-statement-type'
 
const PATCHED_STATEMENT_GROUP_PROPERTY_ID_MISMATCH = 'patched-statement-group-property-id-mismatch'
 
const STATEMENT_ID_NOT_MODIFIABLE = 'statement-id-not-modifiable'
 
const PATCHED_STATEMENT_PROPERTY_NOT_MODIFIABLE = 'patched-statement-property-not-modifiable'
 
const UNEXPECTED_ERROR = 'unexpected-error'
 
const CONTEXT_ACTUAL_VALUE = 'actual-value'
 
const CONTEXT_ALIAS = 'alias'
 
const CONTEXT_CHARACTER_LIMIT = 'character-limit'
 
const CONTEXT_DESCRIPTION = 'description'
 
const CONTEXT_FIELD = 'field'
 
const CONTEXT_LABEL = 'label'
 
const CONTEXT_LANGUAGE = 'language'
 
const CONTEXT_MATCHING_ITEM_ID = 'matching-item-id'
 
const CONTEXT_MATCHING_PROPERTY_ID = 'matching-property-id'
 
const CONTEXT_OPERATION = 'operation'
 
const CONTEXT_PARAMETER = 'parameter'
 
const CONTEXT_PATH = 'path'
 
const CONTEXT_ITEM_ID = 'item-id'
 
const CONTEXT_PROPERTY_ID = 'property-id'
 
const CONTEXT_STATEMENT_ID = 'statement-id'
 
const CONTEXT_SITE_ID = 'site-id'
 
const CONTEXT_TITLE = 'title'
 
const CONTEXT_BADGE = 'badge'
 
const CONTEXT_BADGES = 'badges'
 
const CONTEXT_SUBJECT_ID = 'subject-id'
 
const CONTEXT_VALUE = 'value'
 
const CONTEXT_PROPERTY_ID_KEY = 'statement-group-property-id'
 
const CONTEXT_PROPERTY_ID_VALUE = 'statement-property-id'
 
const STATEMENT_PROPERTY_ID = 'statement-property-id'
 
const EXPECTED_CONTEXT_KEYS
 

Private Attributes

const ADDITIONAL_PATH_CONTEXT
 Depending on the use case and whether it's operating on a single resource or a list, errors may include path information in the context.
 
string $errorCode
 
string $errorMessage
 
array $errorContext
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::__construct ( string $code,
string $message,
array $context = [] )

Member Function Documentation

◆ getErrorCode()

Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::getErrorCode ( )

◆ getErrorContext()

Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::getErrorContext ( )

◆ getErrorMessage()

Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::getErrorMessage ( )

Member Data Documentation

◆ $errorCode

string Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::$errorCode
private

◆ $errorContext

array Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::$errorContext
private

◆ $errorMessage

string Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::$errorMessage
private

◆ ADDITIONAL_PATH_CONTEXT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ADDITIONAL_PATH_CONTEXT
private
Initial value:
= [
self::LABEL_EMPTY => [ self::CONTEXT_LANGUAGE ],
self::DESCRIPTION_EMPTY => [ self::CONTEXT_LANGUAGE ],
self::ALIAS_EMPTY => [ self::CONTEXT_LANGUAGE ],
self::ALIAS_LIST_EMPTY => [ self::CONTEXT_LANGUAGE ],
self::INVALID_LANGUAGE_CODE => [ self::CONTEXT_LANGUAGE, self::CONTEXT_PATH ],
self::INVALID_LABEL => [ self::CONTEXT_LANGUAGE ],
self::INVALID_DESCRIPTION => [ self::CONTEXT_LANGUAGE ],
self::INVALID_ALIAS => [ self::CONTEXT_LANGUAGE, self::CONTEXT_ALIAS ],
self::LABEL_TOO_LONG => [ self::CONTEXT_VALUE, self::CONTEXT_LANGUAGE ],
self::DESCRIPTION_TOO_LONG => [ self::CONTEXT_VALUE, self::CONTEXT_LANGUAGE ],
self::ALIAS_TOO_LONG => [ self::CONTEXT_VALUE, self::CONTEXT_LANGUAGE ],
self::ALIAS_DUPLICATE => [ self::CONTEXT_LANGUAGE ],
self::STATEMENT_DATA_MISSING_FIELD => [ self::CONTEXT_FIELD ],
self::INVALID_SITE_ID => [ self::CONTEXT_SITE_ID ],
self::SITELINK_DATA_MISSING_TITLE => [ self::CONTEXT_SITE_ID ],
self::TITLE_FIELD_EMPTY => [ self::CONTEXT_SITE_ID ],
self::INVALID_TITLE_FIELD => [ self::CONTEXT_SITE_ID ],
self::INVALID_SITELINK_BADGES_FORMAT => [ self::CONTEXT_SITE_ID ],
self::INVALID_INPUT_SITELINK_BADGE => [ self::CONTEXT_SITE_ID ],
self::ITEM_NOT_A_BADGE => [ self::CONTEXT_SITE_ID ],
self::SITELINK_TITLE_NOT_FOUND => [ self::CONTEXT_SITE_ID ],
self::SITELINK_CONFLICT => [ self::CONTEXT_SITE_ID ],
]
const CONTEXT_LANGUAGE
Definition UseCaseError.php:122
const CONTEXT_ALIAS
Definition UseCaseError.php:117
const CONTEXT_VALUE
Definition UseCaseError.php:137
const CONTEXT_SITE_ID
Definition UseCaseError.php:132
const CONTEXT_PATH
Definition UseCaseError.php:128
const CONTEXT_FIELD
Definition UseCaseError.php:120

Depending on the use case and whether it's operating on a single resource or a list, errors may include path information in the context.

◆ ALIAS_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ALIAS_DUPLICATE = 'duplicate-alias'

◆ ALIAS_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ALIAS_EMPTY = 'alias-empty'

◆ ALIAS_LIST_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ALIAS_LIST_EMPTY = 'alias-list-empty'

◆ ALIAS_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ALIAS_TOO_LONG = 'alias-too-long'

◆ ALIASES_NOT_DEFINED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ALIASES_NOT_DEFINED = 'aliases-not-defined'

◆ COMMENT_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::COMMENT_TOO_LONG = 'comment-too-long'

◆ CONTEXT_ACTUAL_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_ACTUAL_VALUE = 'actual-value'

◆ CONTEXT_ALIAS

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_ALIAS = 'alias'

◆ CONTEXT_BADGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_BADGE = 'badge'

◆ CONTEXT_BADGES

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_BADGES = 'badges'

◆ CONTEXT_CHARACTER_LIMIT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_CHARACTER_LIMIT = 'character-limit'

◆ CONTEXT_DESCRIPTION

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_DESCRIPTION = 'description'

◆ CONTEXT_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_FIELD = 'field'

◆ CONTEXT_ITEM_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_ITEM_ID = 'item-id'

◆ CONTEXT_LABEL

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_LABEL = 'label'

◆ CONTEXT_LANGUAGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_LANGUAGE = 'language'

◆ CONTEXT_MATCHING_ITEM_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_MATCHING_ITEM_ID = 'matching-item-id'

◆ CONTEXT_MATCHING_PROPERTY_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_MATCHING_PROPERTY_ID = 'matching-property-id'

◆ CONTEXT_OPERATION

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_OPERATION = 'operation'

◆ CONTEXT_PARAMETER

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_PARAMETER = 'parameter'

◆ CONTEXT_PATH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_PATH = 'path'

◆ CONTEXT_PROPERTY_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_PROPERTY_ID = 'property-id'

◆ CONTEXT_PROPERTY_ID_KEY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_PROPERTY_ID_KEY = 'statement-group-property-id'

◆ CONTEXT_PROPERTY_ID_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_PROPERTY_ID_VALUE = 'statement-property-id'

◆ CONTEXT_SITE_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_SITE_ID = 'site-id'

◆ CONTEXT_STATEMENT_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_STATEMENT_ID = 'statement-id'

◆ CONTEXT_SUBJECT_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_SUBJECT_ID = 'subject-id'

◆ CONTEXT_TITLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_TITLE = 'title'

◆ CONTEXT_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::CONTEXT_VALUE = 'value'

◆ DESCRIPTION_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::DESCRIPTION_EMPTY = 'description-empty'

◆ DESCRIPTION_NOT_DEFINED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::DESCRIPTION_NOT_DEFINED = 'description-not-defined'

◆ DESCRIPTION_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::DESCRIPTION_TOO_LONG = 'description-too-long'

◆ EXPECTED_CONTEXT_KEYS

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::EXPECTED_CONTEXT_KEYS

◆ INVALID_ALIAS

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_ALIAS = 'invalid-alias'

◆ INVALID_ALIAS_LIST

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_ALIAS_LIST = 'invalid-alias-list'

◆ INVALID_DESCRIPTION

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_DESCRIPTION = 'invalid-description'

◆ INVALID_EDIT_TAG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_EDIT_TAG = 'invalid-edit-tag'

◆ INVALID_INPUT_SITELINK_BADGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_INPUT_SITELINK_BADGE = 'invalid-input-sitelink-badge'

◆ INVALID_LABEL

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_LABEL = 'invalid-label'

◆ INVALID_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_LANGUAGE_CODE = 'invalid-language-code'

◆ INVALID_OPERATION_CHANGED_PROPERTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_OPERATION_CHANGED_PROPERTY = 'invalid-operation-change-property-of-statement'

◆ INVALID_OPERATION_CHANGED_STATEMENT_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_OPERATION_CHANGED_STATEMENT_ID = 'invalid-operation-change-statement-id'

◆ INVALID_PATCH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_PATCH = 'invalid-patch'

◆ INVALID_PATCH_FIELD_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_PATCH_FIELD_TYPE = 'invalid-patch-field-type'

◆ INVALID_PATCH_OPERATION

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_PATCH_OPERATION = 'invalid-patch-operation'

◆ INVALID_PATH_PARAMETER

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_PATH_PARAMETER = 'invalid-path-parameter'

◆ INVALID_PROPERTY_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_PROPERTY_ID = 'invalid-property-id'

◆ INVALID_QUERY_PARAMETER

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_QUERY_PARAMETER = 'invalid-query-parameter'

◆ INVALID_SITE_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_SITE_ID = 'invalid-site-id'

◆ INVALID_SITELINK_BADGES_FORMAT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_SITELINK_BADGES_FORMAT = 'invalid-sitelink-badges-format'

◆ INVALID_SITELINK_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_SITELINK_TYPE = 'invalid-sitelink-type'

◆ INVALID_STATEMENT_GROUP_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_STATEMENT_GROUP_TYPE = 'invalid-statement-group-type'

◆ INVALID_STATEMENT_SUBJECT_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_STATEMENT_SUBJECT_ID = 'invalid-statement-subject-id'

◆ INVALID_STATEMENT_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_STATEMENT_TYPE = 'invalid-statement-type'

◆ INVALID_TITLE_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::INVALID_TITLE_FIELD = 'invalid-title-field'

◆ ITEM_DATA_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_DATA_INVALID_FIELD = 'item-data-invalid-field'

◆ ITEM_DATA_UNEXPECTED_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_DATA_UNEXPECTED_FIELD = 'unexpected-field'

◆ ITEM_LABEL_DESCRIPTION_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_LABEL_DESCRIPTION_DUPLICATE = 'item-label-description-duplicate'

◆ ITEM_NOT_A_BADGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_NOT_A_BADGE = 'item-not-a-badge'

◆ ITEM_NOT_FOUND

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_NOT_FOUND = 'item-not-found'

◆ ITEM_REDIRECTED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_REDIRECTED = 'redirected-item'

◆ ITEM_STATEMENT_ID_MISMATCH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::ITEM_STATEMENT_ID_MISMATCH = 'item-statement-id-mismatch'

◆ LABEL_DESCRIPTION_SAME_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::LABEL_DESCRIPTION_SAME_VALUE = 'label-description-same-value'

◆ LABEL_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::LABEL_EMPTY = 'label-empty'

◆ LABEL_NOT_DEFINED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::LABEL_NOT_DEFINED = 'label-not-defined'

◆ LABEL_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::LABEL_TOO_LONG = 'label-too-long'

◆ MISSING_JSON_PATCH_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::MISSING_JSON_PATCH_FIELD = 'missing-json-patch-field'

◆ PATCH_TARGET_NOT_FOUND

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCH_TARGET_NOT_FOUND = 'patch-target-not-found'

◆ PATCH_TEST_FAILED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCH_TEST_FAILED = 'patch-test-failed'

◆ PATCHED_ALIAS_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ALIAS_DUPLICATE = 'patched-duplicate-alias'

◆ PATCHED_ALIAS_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ALIAS_EMPTY = 'patched-alias-empty'

◆ PATCHED_ALIAS_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ALIAS_TOO_LONG = 'patched-alias-too-long'

◆ PATCHED_ALIASES_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ALIASES_INVALID_FIELD = 'patched-aliases-invalid-field'

◆ PATCHED_ALIASES_INVALID_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ALIASES_INVALID_LANGUAGE_CODE = 'patched-aliases-invalid-language-code'

◆ PATCHED_DESCRIPTION_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_DESCRIPTION_EMPTY = 'patched-description-empty'

◆ PATCHED_DESCRIPTION_INVALID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_DESCRIPTION_INVALID = 'patched-description-invalid'

◆ PATCHED_DESCRIPTION_INVALID_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_DESCRIPTION_INVALID_LANGUAGE_CODE = 'patched-descriptions-invalid-language-code'

◆ PATCHED_DESCRIPTION_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_DESCRIPTION_TOO_LONG = 'patched-description-too-long'

◆ PATCHED_INVALID_SITELINK_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_INVALID_SITELINK_TYPE = 'patched-invalid-sitelink-type'

◆ PATCHED_INVALID_STATEMENT_GROUP_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_INVALID_STATEMENT_GROUP_TYPE = 'patched-invalid-statement-group-type'

◆ PATCHED_INVALID_STATEMENT_TYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_INVALID_STATEMENT_TYPE = 'patched-invalid-statement-type'

◆ PATCHED_ITEM_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ITEM_INVALID_FIELD = 'patched-item-invalid-field'

◆ PATCHED_ITEM_INVALID_OPERATION_CHANGE_ITEM_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ITEM_INVALID_OPERATION_CHANGE_ITEM_ID = 'patched-item-invalid-operation-change-item-id'

◆ PATCHED_ITEM_LABEL_DESCRIPTION_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ITEM_LABEL_DESCRIPTION_DUPLICATE = 'patched-item-label-description-duplicate'

◆ PATCHED_ITEM_LABEL_DESCRIPTION_SAME_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ITEM_LABEL_DESCRIPTION_SAME_VALUE = 'patched-item-label-description-same-value'

◆ PATCHED_ITEM_UNEXPECTED_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_ITEM_UNEXPECTED_FIELD = 'patched-item-unexpected-field'

◆ PATCHED_LABEL_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_LABEL_EMPTY = 'patched-label-empty'

◆ PATCHED_LABEL_INVALID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_LABEL_INVALID = 'patched-label-invalid'

◆ PATCHED_LABEL_INVALID_LANGUAGE_CODE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_LABEL_INVALID_LANGUAGE_CODE = 'patched-labels-invalid-language-code'

◆ PATCHED_LABEL_TOO_LONG

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_LABEL_TOO_LONG = 'patched-label-too-long'

◆ PATCHED_PROPERTY_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_INVALID_FIELD = 'patched-property-invalid-field'

◆ PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_DATATYPE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_DATATYPE
Initial value:
=
'patched-property-invalid-operation-change-property-datatype'

◆ PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_INVALID_OPERATION_CHANGE_PROPERTY_ID = 'patched-property-invalid-operation-change-property-id'

◆ PATCHED_PROPERTY_LABEL_DESCRIPTION_SAME_VALUE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_LABEL_DESCRIPTION_SAME_VALUE = 'patched-property-label-description-same-value'

◆ PATCHED_PROPERTY_LABEL_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_LABEL_DUPLICATE = 'patched-property-label-duplicate'

◆ PATCHED_PROPERTY_MISSING_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_MISSING_FIELD = 'patched-property-missing-field'

◆ PATCHED_PROPERTY_UNEXPECTED_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_PROPERTY_UNEXPECTED_FIELD = 'patched-property-unexpected-field'

◆ PATCHED_SITELINK_BADGES_FORMAT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_BADGES_FORMAT = 'patched-sitelink-badges-format'

◆ PATCHED_SITELINK_CONFLICT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_CONFLICT = 'patched-sitelink-conflict'

◆ PATCHED_SITELINK_INVALID_BADGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_INVALID_BADGE = 'patched-sitelink-invalid-badge'

◆ PATCHED_SITELINK_INVALID_SITE_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_INVALID_SITE_ID = 'patched-sitelink-invalid-site-id'

◆ PATCHED_SITELINK_INVALID_TITLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_INVALID_TITLE = 'patched-sitelink-invalid-title'

◆ PATCHED_SITELINK_ITEM_NOT_A_BADGE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_ITEM_NOT_A_BADGE = 'patched-sitelink-item-not-a-badge'

◆ PATCHED_SITELINK_MISSING_TITLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_MISSING_TITLE = 'patched-sitelink-missing-title'

◆ PATCHED_SITELINK_TITLE_DOES_NOT_EXIST

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_TITLE_DOES_NOT_EXIST = 'patched-sitelink-title-does-not-exist'

◆ PATCHED_SITELINK_TITLE_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_TITLE_EMPTY = 'patched-sitelink-title-empty'

◆ PATCHED_SITELINK_URL_NOT_MODIFIABLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_SITELINK_URL_NOT_MODIFIABLE = 'url-not-modifiable'

◆ PATCHED_STATEMENT_GROUP_PROPERTY_ID_MISMATCH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_STATEMENT_GROUP_PROPERTY_ID_MISMATCH = 'patched-statement-group-property-id-mismatch'

◆ PATCHED_STATEMENT_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_STATEMENT_INVALID_FIELD = 'patched-statement-invalid-field'

◆ PATCHED_STATEMENT_MISSING_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_STATEMENT_MISSING_FIELD = 'patched-statement-missing-field'

◆ PATCHED_STATEMENT_PROPERTY_NOT_MODIFIABLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PATCHED_STATEMENT_PROPERTY_NOT_MODIFIABLE = 'patched-statement-property-not-modifiable'

◆ PERMISSION_DENIED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PERMISSION_DENIED = 'permission-denied'

◆ PROPERTY_LABEL_DUPLICATE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PROPERTY_LABEL_DUPLICATE = 'property-label-duplicate'

◆ PROPERTY_NOT_FOUND

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PROPERTY_NOT_FOUND = 'property-not-found'

◆ PROPERTY_STATEMENT_ID_MISMATCH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::PROPERTY_STATEMENT_ID_MISMATCH = 'property-statement-id-mismatch'

◆ SITELINK_CONFLICT

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::SITELINK_CONFLICT = 'sitelink-conflict'

◆ SITELINK_DATA_MISSING_TITLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::SITELINK_DATA_MISSING_TITLE = 'sitelink-data-missing-title'

◆ SITELINK_NOT_DEFINED

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::SITELINK_NOT_DEFINED = 'sitelink-not-defined'

◆ SITELINK_TITLE_NOT_FOUND

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::SITELINK_TITLE_NOT_FOUND = 'title-does-not-exist'

◆ STATEMENT_DATA_INVALID_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_DATA_INVALID_FIELD = 'statement-data-invalid-field'

◆ STATEMENT_DATA_MISSING_FIELD

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_DATA_MISSING_FIELD = 'statement-data-missing-field'

◆ STATEMENT_GROUP_PROPERTY_ID_MISMATCH

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_GROUP_PROPERTY_ID_MISMATCH = 'statement-group-property-id-mismatch'

◆ STATEMENT_ID_NOT_MODIFIABLE

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_ID_NOT_MODIFIABLE = 'statement-id-not-modifiable'

◆ STATEMENT_NOT_FOUND

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_NOT_FOUND = 'statement-not-found'

◆ STATEMENT_PROPERTY_ID

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::STATEMENT_PROPERTY_ID = 'statement-property-id'

◆ TITLE_FIELD_EMPTY

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::TITLE_FIELD_EMPTY = 'title-field-empty'

◆ UNEXPECTED_ERROR

const Wikibase\Repo\RestApi\Application\UseCases\UseCaseError::UNEXPECTED_ERROR = 'unexpected-error'

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