1# ability_base_common.h 2 3## Overview 4 5The file describes the error codes defined by AbilityBase. 6 7**File to include**: <AbilityKit/ability_base/ability_base_common.h> 8 9**Library**: libability_base_want.so 10 11**System capability**: SystemCapability.Ability.AbilityBase 12 13**Since**: 15 14 15**Related module**: [AbilityBase](capi-abilitybase.md) 16 17## Summary 18 19### Enums 20 21| Name| typedef Keyword| Description| 22| -- | -- | -- | 23| [AbilityBase_ErrorCode](#abilitybase_errorcode) | AbilityBase_ErrorCode | Enumerates the error codes of AbilityBase.| 24 25## Enum Description 26 27### AbilityBase_ErrorCode 28 29``` 30enum AbilityBase_ErrorCode 31``` 32 33**Description** 34 35Enumerates the error codes of AbilityBase. 36 37**Since**: 15 38 39| Value| Description| 40| -- | -- | 41| ABILITY_BASE_ERROR_CODE_NO_ERROR = 0 | Operation successful.| 42| ABILITY_BASE_ERROR_CODE_PARAM_INVALID = 401 | Invalid parameter.| 43