karm

karmerrors.h
1 /*
2  * This file only:
3  * Copyright (C) 2005 Mark Bucciarelli <mark@hubcapconsutling.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the
17  * Free Software Foundation, Inc.
18  * 51 Franklin Street, Fifth Floor
19  * Boston, MA 02110-1301 USA.
20  *
21  */
22 #ifndef KARM_ERRORS_H
23 #define KARM_ERRORS_H
24 
25 enum KARM_Errors {
26  KARM_ERR_GENERIC_SAVE_FAILED = 1,
27  KARM_ERR_COULD_NOT_MODIFY_RESOURCE,
28  KARM_ERR_MEMORY_EXHAUSTED,
29  KARM_ERR_UID_NOT_FOUND,
30  KARM_ERR_INVALID_DATE,
31  KARM_ERR_INVALID_TIME,
32  KARM_ERR_INVALID_DURATION,
33 
34  KARM_MAX_ERROR_NO = KARM_ERR_INVALID_DURATION
35 };
36 
37 #endif // KARM_ERRORS_H
38 
39