#[repr(transparent)]pub struct ArkUiErrorCode(pub NonZero<c_uint>);api-12 only.Expand description
Define error code enumeration values.
Available since API-level: 12
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl ArkUiErrorCode
impl ArkUiErrorCode
Sourcepub const PARAM_INVALID: ArkUiErrorCode
pub const PARAM_INVALID: ArkUiErrorCode
Parameter error.
Sourcepub const CAPI_INIT_ERROR: ArkUiErrorCode
Available on crate feature api-18 only.
pub const CAPI_INIT_ERROR: ArkUiErrorCode
api-18 only.CAPI init error.
Available since API-level: 18
Sourcepub const INTERNAL_ERROR: ArkUiErrorCode
Available on crate feature api-15 only.
pub const INTERNAL_ERROR: ArkUiErrorCode
api-15 only.Internal error occurs, such as failure occurs because of the internal environment error, or operation failed because of the internal execution failed.
Available since API-level: 15
Sourcepub const ATTRIBUTE_OR_EVENT_NOT_SUPPORTED: ArkUiErrorCode
pub const ATTRIBUTE_OR_EVENT_NOT_SUPPORTED: ArkUiErrorCode
The component does not support specific properties or events.
Sourcepub const ARKTS_NODE_NOT_SUPPORTED: ArkUiErrorCode
pub const ARKTS_NODE_NOT_SUPPORTED: ArkUiErrorCode
The corresponding operation does not support nodes created by ArkTS.
Sourcepub const ADAPTER_NOT_BOUND: ArkUiErrorCode
pub const ADAPTER_NOT_BOUND: ArkUiErrorCode
The lazy loading adapter is not bound to the component.
Sourcepub const ADAPTER_EXIST: ArkUiErrorCode
pub const ADAPTER_EXIST: ArkUiErrorCode
The adapter already exists.
Sourcepub const CHILD_NODE_EXIST: ArkUiErrorCode
pub const CHILD_NODE_EXIST: ArkUiErrorCode
The corresponding node already has a child node and cannot add an adapter.
Sourcepub const NODE_EVENT_PARAM_INDEX_OUT_OF_RANGE: ArkUiErrorCode
pub const NODE_EVENT_PARAM_INDEX_OUT_OF_RANGE: ArkUiErrorCode
The parameter length in the parameter event exceeds the limit.
Sourcepub const NODE_EVENT_PARAM_INVALID: ArkUiErrorCode
pub const NODE_EVENT_PARAM_INVALID: ArkUiErrorCode
The data does not exist in the component event.
Sourcepub const NODE_EVENT_NO_RETURN: ArkUiErrorCode
pub const NODE_EVENT_NO_RETURN: ArkUiErrorCode
The component event does not support return values.
Sourcepub const NODE_INDEX_INVALID: ArkUiErrorCode
pub const NODE_INDEX_INVALID: ArkUiErrorCode
The index value is invalid.
Sourcepub const GET_INFO_FAILED: ArkUiErrorCode
pub const GET_INFO_FAILED: ArkUiErrorCode
Failed to query route navigation information.
Sourcepub const BUFFER_SIZE_ERROR: ArkUiErrorCode
pub const BUFFER_SIZE_ERROR: ArkUiErrorCode
The buffer size is not large enough.
Sourcepub const NODE_NOT_ON_MAIN_TREE: ArkUiErrorCode
Available on crate feature api-15 only.
pub const NODE_NOT_ON_MAIN_TREE: ArkUiErrorCode
api-15 only.The node is not on main tree.
Available since API-level: 15
Sourcepub const FOCUS_NON_FOCUSABLE: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_FOCUSABLE: ArkUiErrorCode
api-15 only.The node requesting focus is not focusable.
Available since API-level: 15
Sourcepub const FOCUS_NON_FOCUSABLE_ANCESTOR: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_FOCUSABLE_ANCESTOR: ArkUiErrorCode
api-15 only.The node requesting focus has unfocusable ancestor.
Available since API-level: 15
Sourcepub const FOCUS_NON_EXISTENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const FOCUS_NON_EXISTENT: ArkUiErrorCode
api-15 only.The node requesting focus does not exists.
Available since API-level: 15
Sourcepub const COMPONENT_SNAPSHOT_TIMEOUT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const COMPONENT_SNAPSHOT_TIMEOUT: ArkUiErrorCode
api-15 only.The snapshot taking is timeout.
Available since API-level: 15
Sourcepub const NON_SCROLLABLE_CONTAINER: ArkUiErrorCode
pub const NON_SCROLLABLE_CONTAINER: ArkUiErrorCode
The component is not a scroll container.
Sourcepub const BUFFER_SIZE_NOT_ENOUGH: ArkUiErrorCode
pub const BUFFER_SIZE_NOT_ENOUGH: ArkUiErrorCode
The buffer is not large enough.
Sourcepub const NOT_CLONED_POINTER_EVENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const NOT_CLONED_POINTER_EVENT: ArkUiErrorCode
api-15 only.The event is not a clone event.
Available since API-level: 15
Sourcepub const POST_CLONED_COMPONENT_STATUS_ABNORMAL: ArkUiErrorCode
Available on crate feature api-15 only.
pub const POST_CLONED_COMPONENT_STATUS_ABNORMAL: ArkUiErrorCode
api-15 only.The component status is abnormal.
Available since API-level: 15
Sourcepub const POST_CLONED_NO_COMPONENT_HIT_TO_RESPOND_TO_THE_EVENT: ArkUiErrorCode
Available on crate feature api-15 only.
pub const POST_CLONED_NO_COMPONENT_HIT_TO_RESPOND_TO_THE_EVENT: ArkUiErrorCode
api-15 only.No component hit to respond to the event.
Available since API-level: 15
Sourcepub const INVALID_STYLED_STRING: ArkUiErrorCode
Available on crate feature api-14 only.
pub const INVALID_STYLED_STRING: ArkUiErrorCode
api-14 only.invalid styled string.
Available since API-level: 14
Sourcepub const UI_CONTEXT_INVALID: ArkUiErrorCode
Available on crate feature api-18 only.
pub const UI_CONTEXT_INVALID: ArkUiErrorCode
api-18 only.The uiContext is invalid.
Available since API-level: 18
Sourcepub const CALLBACK_INVALID: ArkUiErrorCode
Available on crate feature api-18 only.
pub const CALLBACK_INVALID: ArkUiErrorCode
api-18 only.The callback function is invalid.
Available since API-level: 18
Sourcepub const RECOGNIZER_TYPE_NOT_SUPPORTED: ArkUiErrorCode
Available on crate feature api-18 only.
pub const RECOGNIZER_TYPE_NOT_SUPPORTED: ArkUiErrorCode
api-18 only.The gesture recognizer type is not supported.
Available since API-level: 18
Trait Implementations§
Source§impl Clone for ArkUiErrorCode
impl Clone for ArkUiErrorCode
Source§fn clone(&self) -> ArkUiErrorCode
fn clone(&self) -> ArkUiErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more