Focus Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
150001 Component Not Focusable
Error Message
the component cannot be focused.
Description
This error code is reported when the current component is not focusable.
Possible Causes
The component is not focusable by default or has been configured through attribute methods such as focusable.
Solution
Check whether the current component is focusable and whether focusable is set to true.
150002 Ancestor Component Not Focusable
Error Message
This component has an unfocusable ancestor.
Description
This error code is reported when an ancestor of the current component is not focusable.
Possible Causes
The ancestor component is not focusable by default or has been configured through attribute methods such as focusable.
Solution
Check whether the ancestor component is focusable and whether focusable is set to true.
150003 Component Does Not Exist
Error Message
the component is not on tree or does not exist.
Description
This error code is reported when the provided ID points to a non-existent, detached, or invisible component.
Possible Causes
-
The provided ID is incorrect, or the component has been destroyed.
-
Focus is requested for a component that is not focusable. For details about such components, see Component Focusability.
Solution
Use the correct ID or component.