4 * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 * @defgroup return_value return_value
21 * @ingroup CALENDAR_SVC
23 * return value with api call
26 #ifndef __CALENDAR_SVC_ERRORS_H__
27 #define __CALENDAR_SVC_ERRORS_H__
31 CAL_ERR_EVENT_START_DATE = -405,
32 CAL_ERR_EVENT_END_DATE = -404,
33 CAL_ERR_EVENT_REPEAT_END_DATE = -403,
34 CAL_ERR_EVENT_DURATION = -402,
35 CAL_ERR_EVENT_REPEAT_DURATION_TOO_SHORT = -401,
37 CAL_ERR_INVALID_DATA_TYPE =-301,
39 CAL_ERR_DB_LOCK = -204,
40 CAL_ERR_DB_RECORD_NOT_FOUND = -203,
41 CAL_ERR_DB_FAILED = -202,
42 CAL_ERR_DB_NOT_OPENED= -201,
44 CAL_ERR_ALARMMGR_FAILED = -105,
45 CAL_ERR_TIME_FAILED = -104,
46 CAL_ERR_INOTIFY_FAILED = -103,
47 CAL_ERR_VCONF_FAILED = -102,
48 CAL_ERR_VOBJECT_FAILED = -101,
50 CAL_ERR_NO_SPACE = -11,
52 CAL_ERR_EXCEEDED_LIMIT = -9,
53 CAL_ERR_OUT_OF_MEMORY = -8,
54 CAL_ERR_ALREADY_EXIST = -7,
55 CAL_ERR_ENV_INVALID = -6,
56 CAL_ERR_ARG_NULL = -5,
57 CAL_ERR_ARG_INVALID = -4,
59 CAL_ERR_FINISH_ITER= -2,
66 #endif /* __CALENDAR_SVC_ERRORS_H__ */