ability_base_common.h
Overview
The file declares the error codes defined by AbilityBase.
File to include: <AbilityKit/ability_base/ability_base_common.h>
Library: libability_base_want.so
System capability: SystemCapability.Ability.AbilityBase
Since: 15
Related module: AbilityBase
Summary
Enums
| Name | typedef Keyword | Description |
|---|---|---|
| AbilityBase_ErrorCode | AbilityBase_ErrorCode | Enumerates the error codes of AbilityBase. |
Enum Description
AbilityBase_ErrorCode
enum AbilityBase_ErrorCode
Description
Enumerates the error codes of AbilityBase.
Since: 15
| Value | Description |
|---|---|
| ABILITY_BASE_ERROR_CODE_NO_ERROR = 0 | Operation successful. |
| ABILITY_BASE_ERROR_CODE_PARAM_INVALID = 401 | Invalid parameter. |