2 * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved
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.
17 #ifndef _MINICTRL_ERROR_H_
18 #define _MINICTRL_ERROR_H_
21 * @file minicontrol-error.h
22 * @brief Minicontrol library error type.
26 * @addtogroup MINICONTROL_MONITOR_MODULE
31 * @brief Enumeration for describing error code of minicontrol library.
33 typedef enum _minicontrol_error {
34 MINICONTROL_ERROR_NONE = 0, /**< MiniControl error none */
35 MINICONTROL_ERROR_INVALID_PARAMETER = -1, /**< Invalid parameter */
36 MINICONTROL_ERROR_OUT_OF_MEMORY = -2, /**< Out of memory */
37 MINICONTROL_ERROR_DBUS = -3, /**< Dbus error */
38 MINICONTROL_ERROR_BUNDLE = -4,
39 MINICONTROL_ERROR_NO_DATA = -5,
40 MINICONTROL_ERROR_UNKNOWN = -100, /**< Unknown error */
47 #endif /* _MINICTRL_ERROR_H_ */