目录

Drag Event Error Codes

This topic describes the error codes specific to the drag event module, covering common exceptions in data retrieval, operation phases, and data loading, to help you identify the causes of errors and take corresponding measures. For universal error codes, see Universal Error Codes.

190001 Data Not Found

Error Message

Data not found.

Description

This error code is reported when you call getData of DragEvent but the data has not been obtained yet. The error code is of the string type.

Possible Causes

The DragEvent data has not been obtained.

Solution

N/A

190002 Data Retrieval Error

Error Message

Data error.

Description

This error code is reported when you call getData of DragEvent but the obtained data is incorrect. The error code is of the string type.

Possible Causes

The obtained data is incorrect.

Solution

N/A

190003 Operation Not Allowed in the Current Phase

Error Message

Operation not allowed for current phase.

Description

This error code is reported when you call an API that is supported only in the onDrop phase outside that phase. The error code is of the string type.

Possible Causes

The current phase is not the onDrop phase.

Solution

Call the corresponding API in the onDrop phase.

190004 Operation Failed

Error Message

Operation failed.

Description

This error code is reported when you do not call cancelDataLoading during the data loading process after the drag is released. The error code is of the string type.

Possible Causes

The API is called at a wrong time.

Solution

Call the cancelDataLoading API during data loading.