!10987 modify error message

Merge pull request !10987 from zjy/401
This commit is contained in:
openharmony_ci 2024-04-29 06:44:12 +00:00 committed by Gitee
commit 1cb6ca87eb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4529,7 +4529,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
*/
@ -4559,7 +4559,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
*/
@ -6601,7 +6601,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.
@ -6706,7 +6706,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.
@ -6724,7 +6724,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.
@ -6796,7 +6796,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.