2 * Copyright Droids Corporation, Microb Technology, Eirbot (2005)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 * Revision : $Id: general_errors.h,v 1.5.4.3 2009-01-23 23:54:15 zer0 Exp $
24 * these are general errors.
27 /* Not module specific */
29 /* Operation not permitted */
30 #define EPERM_COMMENT "Operation not permitted"
32 /* No such file or directory */
33 #define ENOENT_COMMENT "No such file or directory"
36 #define EIO_COMMENT "I/O error"
38 /* No such device or address */
39 #define ENXIO_COMMENT "No such device or address"
41 /* Argument list too long */
42 #define E2BIG_COMMENT "Argument list too long"
45 #define EAGAIN_COMMENT "Try again"
48 #define ENOMEM_COMMENT "Out of memory"
51 #define EFAULT_COMMENT "Bad address"
53 /* Device or resource busy */
54 #define EBUSY_COMMENT "Device or resource busy"
56 /* Invalid argument */
57 #define EINVAL_COMMENT "Invalid argument"
60 #define EUNKNOW_COMMENT "Unkwow error"
63 /* Module specific, from 129 to 192 */
66 #define E_ROBOT_SYSTEM 130
67 #define E_MULTISERVO 131
68 #define E_TRAJECTORY 132
70 #define E_BLOCKING_DETECTION_MANAGER 134
74 #define E_TIME_EXT 138
78 /* User specific, from > 192 */
80 /* defined in user app */