IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25075 for trunk/pstamp/src


Ignore:
Timestamp:
Aug 14, 2009, 12:45:30 PM (17 years ago)
Author:
bills
Message:

New error codes for postage stamp server requests and jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/pstamp.h

    r18243 r25075  
    88#include "pslib.h"
    99#include "psmodules.h"
    10 // #include "psphot.h"
    11 // #include "psastro.h"
    12 // #include "ppStats.h"
    1310#include "pstampErrorCodes.h"
    1411
     
    3128} pspMode;
    3229
     30// error codes returned to users in results flie
     31typedef enum {
     32        PSTAMP_SUCCESS          = 0,
     33        PSTAMP_SYSTEM_ERROR     = 10,
     34        PSTAMP_NOT_IMPLEMENTED  = 11,
     35        PSTAMP_UNKNOWN_ERROR    = 12,
     36        PSTAMP_DUP_REQUEST      = 20,
     37        PSTAMP_INVALID_REQUEST  = 21,
     38        PSTAMP_UNKNOWN_PRODUCT  = 22,
     39        PSTAMP_NO_IMAGE_MATCH   = 23,
     40        PSTAMP_NOT_DESTREAKED   = 24,
     41        PSTAMP_NOT_AVAILABLE    = 25,
     42        PSTAMP_GONE             = 26,
     43        PSTAMP_NO_JOBS_QUEUED   = 27
     44} pstampJobErrors;
     45
     46
    3347#define PSTAMP_SELECT_IMAGE  1
    3448#define PSTAMP_SELECT_MASK   2
     
    4458#define STAMP_RESULTS_VERSION "1"
    4559
     60
     61
    4662#endif
Note: See TracChangeset for help on using the changeset viewer.