modify error message

Signed-off-by: xiaobjy <zhongjiyuan1@huawei.com>
Change-Id: I5d722277aa782b8276edc9480dfeb3ea98347850
This commit is contained in:
xiaobjy 2024-04-29 09:32:36 +08:00
parent 121e2ecdd5
commit 66a1144145

View File

@ -4483,7 +4483,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* {@link ImageFormat} constants.
* @param { number } capacity - The maximum number of images the user will want to access simultaneously.
* @returns { ImageReceiver } Returns the ImageReceiver instance if the operation is successful; returns null otherwise.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;
* @syscap SystemCapability.Multimedia.Image.ImageReceiver
* @since 11
*/
@ -4513,7 +4513,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* {@link ImageFormat} constants.
* @param { number } capacity - The maximum number of images the user will want to access simultaneously.
* @returns { ImageCreator } Returns the ImageCreator instance if the operation is successful; returns null otherwise.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;
* @syscap SystemCapability.Multimedia.Image.ImageCreator
* @since 11
*/
@ -6555,7 +6555,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @param { PropertyKey } key - Name of the property whose value is to be obtained.
* @param { ImagePropertyOptions } options - Index of the image.
* @returns { Promise<string> } A Promise instance used to return the property value. If the operation fails, the default value is returned.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;3.Parameter verification failed;
* @throws { BusinessError } 62980096 - The operation failed.
* @throws { BusinessError } 62980103 - The image data is not supported.
* @throws { BusinessError } 62980110 - The image source data is incorrect.
@ -6660,7 +6660,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @param { Array<PropertyKey> } key - Name of the properties whose value is to be obtained.
* @returns { Promise<Record<PropertyKey, string|null>> } Array of Records instance used to return the
* property values. If the operation fails, the null is returned.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;3.Parameter verification failed;
* @throws { BusinessError } 62980096 - The operation failed.
* @throws { BusinessError } 62980110 - The image source data is incorrect.
* @throws { BusinessError } 62980113 - Unknown image format.
@ -6678,7 +6678,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @param { PropertyKey } key - Name of the property whose value is to be modified.
* @param { string } value - The value to be set to property.
* @returns { Promise<void> } A Promise instance used to return the property value.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;
* @throws { BusinessError } 62980123 - Images in EXIF format are not supported.
* @throws { BusinessError } 62980133 - The EXIF data is out of range.
* @throws { BusinessError } 62980135 - The EXIF value is invalid.
@ -6750,7 +6750,7 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* be modified.
* @returns { Promise<void> } A Promise instance used to return the operation result. If the operation fails, an
* error message is returned.
* @throws { BusinessError } 401 - The parameter check failed.
* @throws { BusinessError } 401 - Parameter error.Possible causes:1.Mandatory parameters are left unspecified;2.Incorrect parameter types;3.Parameter verification failed;
* @throws { BusinessError } 62980123 - Images in EXIF format are not supported.
* @throws { BusinessError } 62980133 - The EXIF data is out of range.
* @throws { BusinessError } 62980135 - The EXIF value is invalid.