mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2025-02-17 04:49:02 +00:00
add if failedExtrainfo
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
This commit is contained in:
parent
f5cbc49604
commit
84296f3c98
@ -201,6 +201,9 @@ int32_t DmsUE::GetDeviceTypeByNetworkId(int32_t networkId)
|
||||
|
||||
std::string DmsUE::ConvertErrCodeToStr(int32_t errorCode)
|
||||
{
|
||||
if (errorCode == ERR_OK) {
|
||||
return NO_FAILED_EXTRAINFO;
|
||||
}
|
||||
switch(errorCode) {
|
||||
case INVALID_PARAMETERS_ERR:
|
||||
return "invalid parameters";
|
||||
|
Loading…
x
Reference in New Issue
Block a user