1# image_effect_errors.h 2 3## Overview 4 5The **image_effect_errors.h** file declares the error codes used by the image effector. 6 7**Library**: libimage_effect.so 8 9**File to include**: <multimedia/image_effect/image_effect_errors.h> 10 11**System capability**: SystemCapability.Multimedia.ImageEffect.Core 12 13**Since**: 12 14 15**Related module**: [ImageEffect](capi-imageeffect.md) 16 17## Summary 18 19### Enums 20 21| Name| typedef Keyword| Description| 22| -- | -- | -- | 23| [ImageEffect_ErrorCode](#imageeffect_errorcode) | ImageEffect_ErrorCode | Enumerates the error codes used by the image effector.| 24 25## Enum Description 26 27### ImageEffect_ErrorCode 28 29``` 30enum ImageEffect_ErrorCode 31``` 32 33**Description** 34 35Enumerates the error codes used by the image effector. 36 37**System capability**: SystemCapability.Multimedia.ImageEffect.Core 38 39**Since**: 12 40 41| Enum Item| Description| 42| -- | -- | 43| EFFECT_SUCCESS = 0 | The operation is successful.| 44| EFFECT_ERROR_PERMISSION_DENIED = 201 | Permission verification fails.| 45| EFFECT_ERROR_PARAM_INVALID = 401 | Parameter check fails.| 46| EFFECT_BUFFER_SIZE_NOT_MATCH = 29000001 | The output buffer size does not match.| 47| EFFECT_COLOR_SPACE_NOT_MATCH = 29000002 | The input and output color spaces do not match.| 48| EFFECT_INPUT_OUTPUT_NOT_MATCH = 29000101 | The input and output configurations do not match. For example, the input is a surface, but the output is a PixelMap.| 49| EFFECT_EFFECT_NUMBER_LIMITED = 29000102 | The maximum number is reached.| 50| EFFECT_INPUT_OUTPUT_NOT_SUPPORTED = 29000103 | The input or output configuration is not supported.| 51| EFFECT_ALLOCATE_MEMORY_FAILED = 29000104 | Memory allocation fails.| 52| EFFECT_PARAM_ERROR = 29000121 | Invalid parameter value. For example, the filter parameter value is invalid.| 53| EFFECT_KEY_ERROR = 29000122 | Invalid parameter. For example, the filter parameter is invalid.| 54| EFFECT_UNKNOWN = 29000199 | Undefined error.| 55