错误信息
The parameter isEnabled is invalid.
错误描述
在调用接口函数enableLeakWatcher时,传入无效参数isEnabled。
可能原因
传入参数isEnabled的类型错误。
必填参数未指定。
处理步骤
确保传入参数isEnabled的类型正确,且必填参数已指定。
错误信息
The parameter config is invalid.
错误描述
在调用接口函数enableLeakWatcher时,传入无效参数config。
可能原因
传入参数config的类型错误。
必填参数未指定。
参数校验失败。该参数为字符串类型数组,数组元素必须包含:XComponent、NodeContainer、Window、CustomComponent或Ability中一个或者多个。
处理步骤
确保传入参数config的类型正确,必填参数已指定,且数组元素包含XComponent、NodeContainer、Window、CustomComponent或Ability中的一个或多个。