Tizen 2.0 Release
[pkgs/o/oma-ds-service.git] / include / service-engine / se_error.h
1 /*
2  * oma-ds-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /**
19  *   @SE_Error.h
20  *   @version                                                                   0.1
21  *   @brief                                                                             This file is the header file of Error is defined
22  */
23
24 #ifndef SE_ERROR_H_
25 #define SE_ERROR_H_
26
27 typedef enum {
28         ERROR_UNKNOWN = 0,
29         SE_INTERNAL_OK = 1,
30         SE_INTERNAL_ERROR = 2,
31         SE_INTERNAL_NO_MEMORY = 3,
32         SE_INTERNAL_NOT_DEFINED = 4,
33         SE_INTERNAL_DA_ERROR = 5,
34         SE_INTERNAL_EVENT_ERROR = 6,
35         SE_INTERNAL_ENGINE_CONTROLER_ERROR = 7,
36         SE_INTERNAL_SCHEDULER_ERROR = 8,
37         SE_INTERNAL_SA_ERROR = 9,
38         SE_INTERNAL_MISCONFIGURATION = 10,
39         SE_INTERNAL_CANCEL = 11,
40         SE_INTERNAL_LOW_BATTERY = 12,
41         SE_INTERNAL_SUSPEND = 13,
42
43 } se_error_type_e;
44
45 #endif                          /* SE_ERROR_H_ */