diff --git a/api/@ohos.hiviewdfx.hiAppEvent.d.ts b/api/@ohos.hiviewdfx.hiAppEvent.d.ts index fd489ee6cd9fc801415e6513dbcc28a71c955f10..7c29a94a39d459a7ba74541c91dd505c128f06f9 100644 --- a/api/@ohos.hiviewdfx.hiAppEvent.d.ts +++ b/api/@ohos.hiviewdfx.hiAppEvent.d.ts @@ -1048,6 +1048,14 @@ declare namespace hiAppEvent { * @returns { Promise } Promise that returns no value. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified; *
2. Incorrect parameter types. + * @throws { BusinessError } 11100001 - Function disabled. Possible caused by the param disable in ConfigOption is true. + * @throws { BusinessError } 11101001 - Invalid event domain. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. + * @throws { BusinessError } 11101002 - Invalid event name. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. + * @throws { BusinessError } 11101004 - Invalid string length of the event parameter. + * @throws { BusinessError } 11101005 - Invalid event parameter name. Possible causes: 1. Contain invalid characters; + *
2. Length is invalid. * @throws { BusinessError } 11101007 - The number of parameter keys exceeds the limit. * @static * @syscap SystemCapability.HiviewDFX.HiAppEvent