2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 #include <tizen_type.h>
22 #include <tizen_error.h>
25 * @ingroup CAPI_RRS_MODULE
26 * @defgroup CAPI_RRS_ERROR_MODULE Errors
29 * @brief This file contains the list of RRS errors
31 * @addtogroup CAPI_RRS_ERROR_MODULE
33 * @brief This provides a list of RRS API errors
42 * @brief Base RRS error code (to be added to tizen header files)
45 #define TIZEN_ERROR_RRS_SERVICE 1000
48 * @brief Enumerations of RRS error codes
52 RRS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
53 RRS_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid Parameter */
54 RRS_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
55 RRS_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out Of Memory */
56 RRS_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission Denied */
57 RRS_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not Supported */
58 RRS_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA, /**< No Data Error */
59 RRS_ERROR_UNKNOWN = TIZEN_ERROR_UNKNOWN, /**< Unknown Error */
60 RRS_ERROR_KEY_NOT_AVAILABLE = TIZEN_ERROR_KEY_NOT_AVAILABLE, /**< Key Not Available */
61 RRS_ERROR_SERVICE_NOT_AVAILABLE = TIZEN_ERROR_RRS_SERVICE | 0x01, /**< Service Not Available */
62 RRS_ERROR_NOT_FOUND = TIZEN_ERROR_RRS_SERVICE | 0x02, /**< Not Found Error */
63 RRS_ERROR_NETWORK_UNREACHABLE = TIZEN_ERROR_RRS_SERVICE | 0x03, /**< Network Unreachable */
64 RRS_ERROR_TIMEOUT = TIZEN_ERROR_RRS_SERVICE | 0x04, /**< Timeout */
65 RRS_ERROR_INVALID_TYPE = TIZEN_ERROR_RRS_SERVICE | 0x05 /**< Invalid Type */
76 #endif /* _RRS_ERROR_H_ */