COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
COSMOS Error Code definitions
Collaboration diagram for COSMOS Error Code definitions:

Macros

#define GS232B_ERROR_OPEN   -201
 
#define GS232B_ERROR_CLOSED   -202
 
#define GS232B_ERROR_OUTOFRANGE   -203
 
#define GS232B_ERROR_SEND   -204
 
#define MICROSTRAIN_ERROR_OPEN   -211
 Error opening MicroStrain device. More...
 
#define MICROSTRAIN_ERROR_CLOSED   -212
 
#define MICROSTRAIN_ERROR_OUTOFRANGE   -213
 
#define MICROSTRAIN_ERROR_FAILED   -214
 
#define MICROSTRAIN_ERROR_TOOMANY   -215
 
#define MICROSTRAIN_ERROR_FUNCTION   -216
 
#define MICROSTRAIN_ERROR_SEND   -217
 
#define SINCLAIR_ERROR_OPEN   -221
 
#define SINCLAIR_ERROR_CLOSED   -222
 
#define SINCLAIR_ERROR_OUTOFRANGE   -223
 
#define SINCLAIR_ERROR_FAILED   -224
 
#define SINCLAIR_ERROR_TOOMANY   -225
 
#define NSP_ERROR_CRC   -226
 
#define NSP_ERROR_SIZE   -227
 
#define NSP_ERROR_NACK   -228
 
#define TS2000_ERROR_OPEN   -231
 
#define TS2000_ERROR_CLOSED   -232
 
#define TS2000_ERROR_OUTOFRANGE   -233
 
#define VMT35_ERROR_RODNUM   -241
 
#define VMT35_ERROR_BYTE   -242
 
#define VMT35_ERROR_OUTOFRANGE   -243
 
#define VMT35_ERROR_OPENED   -244
 
#define VMT35_ERROR_CLOSED   -245
 
#define VMT35_ERROR_NACK   -246
 
#define VMT35_ERROR_CRC   -247
 
#define VMT35_ERROR_DEVNAME   -248
 
#define JSON_ERROR_NAME_LENGTH   -251
 
#define JSON_ERROR_DATA_LENGTH   -252
 
#define JSON_ERROR_INDEX_SIZE   -253
 
#define JSON_ERROR_NOJMAP   -254
 
#define JSON_ERROR_NOENTRY   -255
 
#define JSON_ERROR_EOS   -256
 
#define JSON_ERROR_SCAN   -257
 
#define JSON_ERROR_JSTRING   -258
 
#define JSON_ERROR_NAN   -259
 
#define SLIP_ERROR_CRC   -261
 
#define SLIP_ERROR_PACKING   -262
 
#define SLIP_ERROR_BUFFER   -263
 
#define AGENT_ERROR_SERVER_RUNNING   -270
 
#define AGENT_ERROR_JSON_CREATE   -271
 
#define AGENT_ERROR_REQ_COUNT   -272
 
#define AGENT_ERROR_MEMORY   -273
 
#define AGENT_ERROR_SOCKET   -274
 
#define AGENT_ERROR_CHANNEL   -275
 
#define AGENT_ERROR_BUFLEN   -276
 
#define AGENT_ERROR_NULL   -277
 
#define AGENT_ERROR_DISCOVERY   -278
 
#define AGENT_ERROR_REQUEST   -279
 
#define MATH_ERROR_GJ_UNDEFINED   -281
 
#define MATH_ERROR_GJ_OUTOFRANGE   -282
 
#define AGENT_ERROR_LCM_CREATE   -291
 
#define AGENT_ERROR_LCM_SUBSCRIBE   -292
 
#define AGENT_ERROR_LCM_TIMEOUT   -293
 
#define RW_ERROR_OPEN   -301
 
#define RW_ERROR_CLOSED   -302
 
#define RW_ERROR_OUTOFRANGE   -303
 
#define RW_ERROR_FAILED   -304
 
#define RW_ERROR_TOOMANY   -305
 
#define RW_ERROR_SEND   -306
 
#define STK_ERROR_LOWINDEX   -311
 
#define STK_ERROR_HIGHINDEX   -312
 
#define STK_ERROR_OUTOFRANGE   -313
 
#define STK_ERROR_NOTFOUND   -314
 
#define DEM_ERROR_SEMINIT   -321
 
#define DEM_ERROR_OPEN   -322
 
#define DEM_ERROR_INSUFFICIENT_MEMORY   -323
 
#define DEM_ERROR_NOTFOUND   -324
 
#define TLE_ERROR_OUTOFRANGE   -331
 
#define ORBIT_ERROR_NOTSUPPORTED   -332
 
#define TLE_ERROR_NOTFOUND   -334
 
#define NODE_ERROR_NODE   -341
 
#define NODE_ERROR_GROUNDSTATION   -342
 
#define NODE_ERROR_ROOTDIR   -343
 
#define MOST_USER_CANCELLED   -351
 
#define DATA_ERROR_ARCHIVE   -361
 
#define DATA_ERROR_SIZE_MISMATCH   -362
 
#define DATA_ERROR_CRC   -363
 
#define DATA_ERROR_FORMAT   -364
 
#define DATA_ERROR_RESOURCES_FOLDER   -365
 
#define DATA_ERROR_NODES_FOLDER   -366
 
#define DATA_ERROR_ROOT_FOLDER   -367
 
#define GIGE_ERROR_NACK   -371
 
#define CSSL_ERROR_BASE   -380
 
#define CSSL_ERROR_CHECKSUM   -381
 
#define CSSL_ERROR_READ   -382
 
#define CSSL_ERROR_TIMEOUT   -383
 
#define CSSL_ERROR_EOT   -384
 
#define CSSL_ERROR_SLIPIN   -385
 
#define CSSL_ERROR_SLIPOUT   -386
 
#define CSSL_ERROR_BUFFER_SIZE_EXCEEDED   -387
 
#define CSSL_ERROR_BAD_ESCAPE   -388
 
#define SERIAL_ERROR_CHECKSUM   -381
 
#define SERIAL_ERROR_READ   -382
 
#define SERIAL_ERROR_TIMEOUT   -383
 
#define SERIAL_ERROR_EOT   -384
 
#define SERIAL_ERROR_SLIPIN   -385
 
#define SERIAL_ERROR_SLIPOUT   -386
 
#define SERIAL_ERROR_BUFFER_SIZE_EXCEEDED   -387
 
#define SERIAL_ERROR_BAD_ESCAPE   -388
 
#define SERIAL_ERROR_OPEN   -389
 
#define IC9100_ERROR_OPEN   -391
 
#define IC9100_ERROR_CLOSED   -392
 
#define IC9100_ERROR_OUTOFRANGE   -393
 
#define IC9100_ERROR_WRITE   -394
 
#define IC9100_ERROR_NG   -395
 
#define IC9100_ERROR_READ   -396
 
#define IC9100_ERROR_ADDR   -397
 
#define GPS_ERROR_OPEN   -401
 
#define GPS_ERROR_CLOSED   -402
 
#define OEMV_ERROR_OPEN   -411
 
#define OEMV_ERROR_CLOSED   -412
 
#define OEMV_ERROR_CRC   -413
 
#define OEMV_ERROR_RESPONSE   -414
 
#define PIC_ERROR_OPEN   -421
 
#define PIC_ERROR_CLOSED   -422
 
#define PIC_ERROR_PORT   -423
 
#define PIC_ERROR_NACK   -424
 
#define PIC_ERROR_SIZE   -425
 
#define PIC_ERROR_ERR   -426
 
#define PIC_ERROR_TYPE   -427
 
#define ASTRODEV_ERROR_HEADER_CS   -431
 
#define ASTRODEV_ERROR_SYNC0   -432
 
#define ASTRODEV_ERROR_NACK   -433
 
#define ASTRODEV_ERROR_PAYLOAD_CS   -434
 
#define ASTRODEV_ERROR_SYNC1   -435
 
#define ASTRODEV_ERROR_HEADER   -436
 
#define ASTRODEV_ERROR_PAYLOAD   -437
 
#define SUCHI_ERROR_CLOSED   -441
 
#define VN100_ERROR_OPEN   -451
 
#define VN100_ERROR_NACK   -452
 
#define VN100_ERROR_SCAN   -453
 
#define ISC_ERROR_CLOSED   -461
 
#define TRANSFER_ERROR_MATCH   -471
 
#define TRANSFER_ERROR_QUEUEFULL   -472
 
#define TRANSFER_ERROR_INDEX   -473
 
#define TRANSFER_ERROR_NODE   -474
 
#define TRANSFER_ERROR_FILENAME   -475
 
#define TRANSFER_ERROR_DUPLICATE   -476
 
#define TRANSFER_ERROR_FILESIZE   -477
 
#define TRANSFER_ERROR_FILEZERO   -478
 
#define SOCKET_ERROR_CS   -481
 
#define SOCKET_ERROR_PROTOCOL   -482
 
#define SOCKET_READ_TIMEOUT   -483
 
#define SOCKET_ERROR_OPEN   -484
 
#define SOCKET_ERROR_OPEN_RECEIVE   -485
 
#define SOCKET_ERROR_OPEN_TRANSMIT   -486
 
#define SOCKET_ERROR_OPEN_CONNECT   -487
 
#define SOCKET_ERROR_CLOSE   -488
 
#define TRIMBLE_ERROR_CS   -491
 
#define JPLEPHEM_ERROR_NOTFOUND   -501
 
#define JPLEPHEM_ERROR_INSUFFICIENT_MEMORY   -502
 
#define JPLEPHEM_ERROR_OUTOFRANGE   -503
 
#define JPLEPHEM_ERROR_NUTATIONS   -504
 
#define JPLEPHEM_ERROR_LIBRATIONS   -505
 
#define GEOMAG_ERROR_NOTFOUND   -511
 
#define GEOMAG_ERROR_OUTOFRANGE   -512
 
#define PRKX2SU_ERROR_OPEN   -521
 
#define PRKX2SU_ERROR_CLOSED   -522
 
#define PRKX2SU_ERROR_OUTOFRANGE   -523
 
#define PRKX2SU_ERROR_SEND   -524
 
#define CONVERT_ERROR_UTC   -531
 
#define CUBEADCS_SERIALCOMM_RESPONSE   -601
 
#define CUBEADCS_INVALID_RESPONSE   -602
 
#define CUBEADCS_NOT_CONNECTED   -603
 
#define CUBEADCS_SERIAL_PROTOCOL   -604
 
#define CLYDE_EPS_NOT_CONNECTED   -611
 
#define CLYDE_BATTERY_NOT_CONNECTED   -612
 
#define CLYDE_GENERAL_BAD_ADDRESS   -613
 
#define MEADE_MOUNT_ERROR_NOT_CONNECTED   -620
 
#define MEADE_MOUNT_ERROR_BAD_RESPONSE   -621
 
#define MEADE_MOUNT_ERROR_VALUE_INVALID   -622
 
#define MEADE_MOUNT_ERROR_OUTSIDE_LIMITS   -623
 
#define SCPI_ERROR_NOT_CONNECTED   -630
 
#define SCPI_ERROR_BAD_RESPONSE   -631
 
#define SCPI_ERROR_VALUE_INVALID   -632
 
#define SCPI_ERROR_OUTSIDE_LIMITS   -633
 
#define SCPI_ERROR_OUTSIDE_RANGE   -634
 
#define GENERAL_OK   0 /* everything is all right */
 
#define GENERAL_ERROR_NO_SIGNAL   -2001 /* there's no free signal */
 
#define GENERAL_ERROR_NOTSTARTED   -2002 /* uninitialized error */
 
#define GENERAL_ERROR_NULLPOINTER   -2003 /* you gave a null pointer to the function */
 
#define GENERAL_ERROR_OOPS   -2004 /* internal error, something's erong */
 
#define GENERAL_ERROR_MEMORY   -2005 /* there's no memory for more of something */
 
#define GENERAL_ERROR_OPEN   -2006 /* file doesnt exist or you aren't good user */
 
#define GENERAL_ERROR_CRC   -2007 /* crc error */
 
#define GENERAL_ERROR_OVERSIZE   -2008 /* input was too large */
 
#define GENERAL_ERROR_ZEROSIZE   -2009 /* input cannot be zero size */
 
#define GENERAL_ERROR_UNIMPLEMENTED   -2010 /* command is not implemented */
 
#define GENERAL_ERROR_EMPTY   -2011 /* usually indicates that a buffer was empty */
 
#define GENERAL_ERROR_UNHANDLED_ERR   -2012 /* error that is not currently handled */
 
#define GENERAL_ERROR_UNDERSIZE   -2013 /* packet is smaller than expected size */
 
#define GENERAL_ERROR_BAD_SIZE   -2014 /* packet is an invalid size */
 
#define GENERAL_ERROR_TIMEOUT   -2015 /* a timer expired */
 
#define GENERAL_ERROR_INPUT   -2016 /* invalid input was provided */
 
#define GENERAL_ERROR_OUTPUT   -2017 /* output from a routine returned bad output, possibly related to bad input */
 
#define GENERAL_ERROR_UNDEFINED   -2018
 
#define GENERAL_ERROR_OUTOFRANGE   -2019
 
#define GENERAL_ERROR_NOTREADY   -2020
 
#define GENERAL_ERROR_BUSY   -2021
 
#define GENERAL_ERROR_NO_CARRIER   -2022
 
#define GENERAL_ERROR_NO_DIALTONE   -2023
 
#define GENERAL_ERROR_NO_ANSWER   -2024
 
#define GENERAL_ERROR_DUPLICATE   -2025
 
#define GENERAL_ERROR_MISMATCH   -2026
 
#define GENERAL_ERROR_ERROR   -2027
 
#define GENERAL_ERROR_ARGS   -2028
 
#define GENERAL_ERROR_TOO_LOW   -2029
 
#define GPHOTO2_ERROR   -3000
 

Detailed Description

Macro Definition Documentation

#define GS232B_ERROR_OPEN   -201
#define GS232B_ERROR_CLOSED   -202
#define GS232B_ERROR_OUTOFRANGE   -203
#define GS232B_ERROR_SEND   -204
#define MICROSTRAIN_ERROR_OPEN   -211

Error opening MicroStrain device.

#define MICROSTRAIN_ERROR_CLOSED   -212
#define MICROSTRAIN_ERROR_OUTOFRANGE   -213
#define MICROSTRAIN_ERROR_FAILED   -214
#define MICROSTRAIN_ERROR_TOOMANY   -215
#define MICROSTRAIN_ERROR_FUNCTION   -216
#define MICROSTRAIN_ERROR_SEND   -217
#define SINCLAIR_ERROR_OPEN   -221
#define SINCLAIR_ERROR_CLOSED   -222
#define SINCLAIR_ERROR_OUTOFRANGE   -223
#define SINCLAIR_ERROR_FAILED   -224
#define SINCLAIR_ERROR_TOOMANY   -225
#define NSP_ERROR_CRC   -226
#define NSP_ERROR_SIZE   -227
#define NSP_ERROR_NACK   -228
#define TS2000_ERROR_OPEN   -231
#define TS2000_ERROR_CLOSED   -232
#define TS2000_ERROR_OUTOFRANGE   -233
#define VMT35_ERROR_RODNUM   -241
#define VMT35_ERROR_BYTE   -242
#define VMT35_ERROR_OUTOFRANGE   -243
#define VMT35_ERROR_OPENED   -244
#define VMT35_ERROR_CLOSED   -245
#define VMT35_ERROR_NACK   -246
#define VMT35_ERROR_CRC   -247
#define VMT35_ERROR_DEVNAME   -248
#define JSON_ERROR_NAME_LENGTH   -251
#define JSON_ERROR_DATA_LENGTH   -252
#define JSON_ERROR_INDEX_SIZE   -253
#define JSON_ERROR_NOJMAP   -254
#define JSON_ERROR_NOENTRY   -255
#define JSON_ERROR_EOS   -256
#define JSON_ERROR_SCAN   -257
#define JSON_ERROR_JSTRING   -258
#define JSON_ERROR_NAN   -259
#define SLIP_ERROR_CRC   -261
#define SLIP_ERROR_PACKING   -262
#define SLIP_ERROR_BUFFER   -263
#define AGENT_ERROR_SERVER_RUNNING   -270
#define AGENT_ERROR_JSON_CREATE   -271
#define AGENT_ERROR_REQ_COUNT   -272
#define AGENT_ERROR_MEMORY   -273
#define AGENT_ERROR_SOCKET   -274
#define AGENT_ERROR_CHANNEL   -275
#define AGENT_ERROR_BUFLEN   -276
#define AGENT_ERROR_NULL   -277
#define AGENT_ERROR_DISCOVERY   -278
#define AGENT_ERROR_REQUEST   -279
#define MATH_ERROR_GJ_UNDEFINED   -281
#define MATH_ERROR_GJ_OUTOFRANGE   -282
#define AGENT_ERROR_LCM_CREATE   -291
#define AGENT_ERROR_LCM_SUBSCRIBE   -292
#define AGENT_ERROR_LCM_TIMEOUT   -293
#define RW_ERROR_OPEN   -301
#define RW_ERROR_CLOSED   -302
#define RW_ERROR_OUTOFRANGE   -303
#define RW_ERROR_FAILED   -304
#define RW_ERROR_TOOMANY   -305
#define RW_ERROR_SEND   -306
#define STK_ERROR_LOWINDEX   -311
#define STK_ERROR_HIGHINDEX   -312
#define STK_ERROR_OUTOFRANGE   -313
#define STK_ERROR_NOTFOUND   -314
#define DEM_ERROR_SEMINIT   -321
#define DEM_ERROR_OPEN   -322
#define DEM_ERROR_INSUFFICIENT_MEMORY   -323
#define DEM_ERROR_NOTFOUND   -324
#define TLE_ERROR_OUTOFRANGE   -331
#define ORBIT_ERROR_NOTSUPPORTED   -332
#define TLE_ERROR_NOTFOUND   -334
#define NODE_ERROR_NODE   -341
#define NODE_ERROR_GROUNDSTATION   -342
#define NODE_ERROR_ROOTDIR   -343
#define MOST_USER_CANCELLED   -351
#define DATA_ERROR_ARCHIVE   -361
#define DATA_ERROR_SIZE_MISMATCH   -362
#define DATA_ERROR_CRC   -363
#define DATA_ERROR_FORMAT   -364
#define DATA_ERROR_RESOURCES_FOLDER   -365
#define DATA_ERROR_NODES_FOLDER   -366
#define DATA_ERROR_ROOT_FOLDER   -367
#define GIGE_ERROR_NACK   -371
#define CSSL_ERROR_BASE   -380
#define CSSL_ERROR_CHECKSUM   -381
#define CSSL_ERROR_READ   -382
#define CSSL_ERROR_TIMEOUT   -383
#define CSSL_ERROR_EOT   -384
#define CSSL_ERROR_SLIPIN   -385
#define CSSL_ERROR_SLIPOUT   -386
#define CSSL_ERROR_BUFFER_SIZE_EXCEEDED   -387
#define CSSL_ERROR_BAD_ESCAPE   -388
#define SERIAL_ERROR_CHECKSUM   -381
#define SERIAL_ERROR_READ   -382
#define SERIAL_ERROR_TIMEOUT   -383
#define SERIAL_ERROR_EOT   -384
#define SERIAL_ERROR_SLIPIN   -385
#define SERIAL_ERROR_SLIPOUT   -386
#define SERIAL_ERROR_BUFFER_SIZE_EXCEEDED   -387
#define SERIAL_ERROR_BAD_ESCAPE   -388
#define SERIAL_ERROR_OPEN   -389
#define IC9100_ERROR_OPEN   -391
#define IC9100_ERROR_CLOSED   -392
#define IC9100_ERROR_OUTOFRANGE   -393
#define IC9100_ERROR_WRITE   -394
#define IC9100_ERROR_NG   -395
#define IC9100_ERROR_READ   -396
#define IC9100_ERROR_ADDR   -397
#define GPS_ERROR_OPEN   -401
#define GPS_ERROR_CLOSED   -402
#define OEMV_ERROR_OPEN   -411
#define OEMV_ERROR_CLOSED   -412
#define OEMV_ERROR_CRC   -413
#define OEMV_ERROR_RESPONSE   -414
#define PIC_ERROR_OPEN   -421
#define PIC_ERROR_CLOSED   -422
#define PIC_ERROR_PORT   -423
#define PIC_ERROR_NACK   -424
#define PIC_ERROR_SIZE   -425
#define PIC_ERROR_ERR   -426
#define PIC_ERROR_TYPE   -427
#define ASTRODEV_ERROR_HEADER_CS   -431
#define ASTRODEV_ERROR_SYNC0   -432
#define ASTRODEV_ERROR_NACK   -433
#define ASTRODEV_ERROR_PAYLOAD_CS   -434
#define ASTRODEV_ERROR_SYNC1   -435
#define ASTRODEV_ERROR_HEADER   -436
#define ASTRODEV_ERROR_PAYLOAD   -437
#define SUCHI_ERROR_CLOSED   -441
#define VN100_ERROR_OPEN   -451
#define VN100_ERROR_NACK   -452
#define VN100_ERROR_SCAN   -453
#define ISC_ERROR_CLOSED   -461
#define TRANSFER_ERROR_MATCH   -471
#define TRANSFER_ERROR_QUEUEFULL   -472
#define TRANSFER_ERROR_INDEX   -473
#define TRANSFER_ERROR_NODE   -474
#define TRANSFER_ERROR_FILENAME   -475
#define TRANSFER_ERROR_DUPLICATE   -476
#define TRANSFER_ERROR_FILESIZE   -477
#define TRANSFER_ERROR_FILEZERO   -478
#define SOCKET_ERROR_CS   -481
#define SOCKET_ERROR_PROTOCOL   -482
#define SOCKET_READ_TIMEOUT   -483
#define SOCKET_ERROR_OPEN   -484
#define SOCKET_ERROR_OPEN_RECEIVE   -485
#define SOCKET_ERROR_OPEN_TRANSMIT   -486
#define SOCKET_ERROR_OPEN_CONNECT   -487
#define SOCKET_ERROR_CLOSE   -488
#define TRIMBLE_ERROR_CS   -491
#define JPLEPHEM_ERROR_NOTFOUND   -501
#define JPLEPHEM_ERROR_INSUFFICIENT_MEMORY   -502
#define JPLEPHEM_ERROR_OUTOFRANGE   -503
#define JPLEPHEM_ERROR_NUTATIONS   -504
#define JPLEPHEM_ERROR_LIBRATIONS   -505
#define GEOMAG_ERROR_NOTFOUND   -511
#define GEOMAG_ERROR_OUTOFRANGE   -512
#define PRKX2SU_ERROR_OPEN   -521
#define PRKX2SU_ERROR_CLOSED   -522
#define PRKX2SU_ERROR_OUTOFRANGE   -523
#define PRKX2SU_ERROR_SEND   -524
#define CONVERT_ERROR_UTC   -531
#define CUBEADCS_SERIALCOMM_RESPONSE   -601
#define CUBEADCS_INVALID_RESPONSE   -602
#define CUBEADCS_NOT_CONNECTED   -603
#define CUBEADCS_SERIAL_PROTOCOL   -604
#define CLYDE_EPS_NOT_CONNECTED   -611
#define CLYDE_BATTERY_NOT_CONNECTED   -612
#define CLYDE_GENERAL_BAD_ADDRESS   -613
#define MEADE_MOUNT_ERROR_NOT_CONNECTED   -620
#define MEADE_MOUNT_ERROR_BAD_RESPONSE   -621
#define MEADE_MOUNT_ERROR_VALUE_INVALID   -622
#define MEADE_MOUNT_ERROR_OUTSIDE_LIMITS   -623
#define SCPI_ERROR_NOT_CONNECTED   -630
#define SCPI_ERROR_BAD_RESPONSE   -631
#define SCPI_ERROR_VALUE_INVALID   -632
#define SCPI_ERROR_OUTSIDE_LIMITS   -633
#define SCPI_ERROR_OUTSIDE_RANGE   -634
#define GENERAL_OK   0 /* everything is all right */
#define GENERAL_ERROR_NO_SIGNAL   -2001 /* there's no free signal */
#define GENERAL_ERROR_NOTSTARTED   -2002 /* uninitialized error */
#define GENERAL_ERROR_NULLPOINTER   -2003 /* you gave a null pointer to the function */
#define GENERAL_ERROR_OOPS   -2004 /* internal error, something's erong */
#define GENERAL_ERROR_MEMORY   -2005 /* there's no memory for more of something */
#define GENERAL_ERROR_OPEN   -2006 /* file doesnt exist or you aren't good user */
#define GENERAL_ERROR_CRC   -2007 /* crc error */
#define GENERAL_ERROR_OVERSIZE   -2008 /* input was too large */
#define GENERAL_ERROR_ZEROSIZE   -2009 /* input cannot be zero size */
#define GENERAL_ERROR_UNIMPLEMENTED   -2010 /* command is not implemented */
#define GENERAL_ERROR_EMPTY   -2011 /* usually indicates that a buffer was empty */
#define GENERAL_ERROR_UNHANDLED_ERR   -2012 /* error that is not currently handled */
#define GENERAL_ERROR_UNDERSIZE   -2013 /* packet is smaller than expected size */
#define GENERAL_ERROR_BAD_SIZE   -2014 /* packet is an invalid size */
#define GENERAL_ERROR_TIMEOUT   -2015 /* a timer expired */
#define GENERAL_ERROR_INPUT   -2016 /* invalid input was provided */
#define GENERAL_ERROR_OUTPUT   -2017 /* output from a routine returned bad output, possibly related to bad input */
#define GENERAL_ERROR_UNDEFINED   -2018
#define GENERAL_ERROR_OUTOFRANGE   -2019
#define GENERAL_ERROR_NOTREADY   -2020
#define GENERAL_ERROR_BUSY   -2021
#define GENERAL_ERROR_NO_CARRIER   -2022
#define GENERAL_ERROR_NO_DIALTONE   -2023
#define GENERAL_ERROR_NO_ANSWER   -2024
#define GENERAL_ERROR_DUPLICATE   -2025
#define GENERAL_ERROR_MISMATCH   -2026
#define GENERAL_ERROR_ERROR   -2027
#define GENERAL_ERROR_ARGS   -2028
#define GENERAL_ERROR_TOO_LOW   -2029
#define GPHOTO2_ERROR   -3000