1d95e75fdSopenharmony_ci/* 2d95e75fdSopenharmony_ci * Copyright (C) 2022 Huawei Device Co., Ltd. 3d95e75fdSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4d95e75fdSopenharmony_ci * you may not use this file except in compliance with the License. 5d95e75fdSopenharmony_ci * You may obtain a copy of the License at 6d95e75fdSopenharmony_ci * 7d95e75fdSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8d95e75fdSopenharmony_ci * 9d95e75fdSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10d95e75fdSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11d95e75fdSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12d95e75fdSopenharmony_ci * See the License for the specific language governing permissions and 13d95e75fdSopenharmony_ci * limitations under the License. 14d95e75fdSopenharmony_ci */ 15d95e75fdSopenharmony_ci 16d95e75fdSopenharmony_ci#ifndef IMS_ERROR_H 17d95e75fdSopenharmony_ci#define IMS_ERROR_H 18d95e75fdSopenharmony_ci 19d95e75fdSopenharmony_ci#include "telephony_errors.h" 20d95e75fdSopenharmony_ci 21d95e75fdSopenharmony_cinamespace OHOS { 22d95e75fdSopenharmony_cinamespace Telephony { 23d95e75fdSopenharmony_ci/** 24d95e75fdSopenharmony_ci * @brief Indicates the error type when use UT. 25d95e75fdSopenharmony_ci */ 26d95e75fdSopenharmony_cienum { 27d95e75fdSopenharmony_ci /** 28d95e75fdSopenharmony_ci * Indicates the SS doesn't use UT interface. 29d95e75fdSopenharmony_ci */ 30d95e75fdSopenharmony_ci IMS_ERROR_UT_NO_CONNECTION = IMS_ERR_OFFSET, 31d95e75fdSopenharmony_ci /** 32d95e75fdSopenharmony_ci * Indicates the UE will retry on CS when UT fail. 33d95e75fdSopenharmony_ci */ 34d95e75fdSopenharmony_ci IMS_ERROR_UT_CS_FALLBACK, 35d95e75fdSopenharmony_ci}; 36d95e75fdSopenharmony_ci} // namespace Telephony 37d95e75fdSopenharmony_ci} // namespace OHOS 38d95e75fdSopenharmony_ci#endif // IMS_ERROR_H 39