The interaction event error codes are used to locate exceptions in component event handling, event dispatching, scrollable containers, gesture recognizers, and event data operations, helping you quickly select the correct component, event, or API parameter based on the error cause and resolve the issue. Only the error codes specific to this module are described below. For details about the universal error codes, see Universal Error Codes.
Error Message
Component does not support prevent function.
Description
This error code is reported when the component does not support preventing the default event. This error code is of the string type.
Possible Causes
The component used does not support the preventDefault API.
Solution
Use the component that supports the preventDefault functionality.
Error Message
The component does not support specific properties or events.
Description
This error code is reported when the component does not support the specified properties or events. This error code is of the string type.
Possible Causes
The component does not support the currently set attribute or event.
Solution
Use a component that supports the current property or event.
Error Message
Component is not a scroll container.
Description
This error code is reported when the container is not scrollable. This error code is of the string type.
Possible Causes
The component being used is not a scrollable container.
Solution
Use a scrollable container.
Error Message
Buffer is not large enough.
Description
This error code is reported when the storage buffer is insufficient. This error code is of the string type.
Possible Causes
The length of the passed-in array is less than the length required by the API.
Solution
Expand the size of the input array.
Error Message
The input event pointer is not a cloned event pointer.
Description
This error code is reported when the event is not a cloned event. This error code is of the string type.
Possible Causes
When calling the cloned event API, you must pass in the pointer to a cloned event generated by the cloned event API.
Solution
Use the cloned event pointer as the API parameter.
Error Message
The component status is abnormal.
Description
This error code is reported when the component is in an abnormal state. This error code is of the string type.
Possible Causes
The component state is abnormal when the clone event is dispatched to the component.
Solution
Use the component that has been mounted but is not destroyed.
Error Message
No component hit to response to the event.
Description
This error code is reported when no component is found to handle the event. This error code is of the string type.
Possible Causes
No component is available to handle the event when the clone event is dispatched.
Solution
Add an event listener for the component, or use a component that supports response to the event.
Error Message
The gesture recognizer type is not supported.
Description
This error code is reported when the gesture recognizer type is not supported. This error code is of the string type.
Possible Causes
The gesture recognizer type specified in the gesture API is not supported.
Solution
Call the gesture recognizer that matches the type.