karm
karmerrors.h
00001 /* 00002 * This file only: 00003 * Copyright (C) 2005 Mark Bucciarelli <mark@hubcapconsutling.com> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the 00017 * Free Software Foundation, Inc. 00018 * 51 Franklin Street, Fifth Floor 00019 * Boston, MA 02110-1301 USA. 00020 * 00021 */ 00022 #ifndef KARM_ERRORS_H 00023 #define KARM_ERRORS_H 00024 00025 enum KARM_Errors { 00026 KARM_ERR_GENERIC_SAVE_FAILED = 1, 00027 KARM_ERR_COULD_NOT_MODIFY_RESOURCE, 00028 KARM_ERR_MEMORY_EXHAUSTED, 00029 KARM_ERR_UID_NOT_FOUND, 00030 KARM_ERR_INVALID_DATE, 00031 KARM_ERR_INVALID_TIME, 00032 KARM_ERR_INVALID_DURATION, 00033 00034 KARM_MAX_ERROR_NO = KARM_ERR_INVALID_DURATION 00035 }; 00036 00037 #endif // KARM_ERRORS_H 00038 00039