IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2010, 6:42:01 PM (16 years ago)
Author:
Paul Price
Message:

Reworked ppStack to be better about error codes and their translation to exit codes.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src

    • Property svn:ignore
      •  

        old new  
        1010stamp-h1
        1111ppStackVersionDefinitions.h
         12ppStackErrorCodes.c
         13ppStackErrorCodes.h
  • trunk/ppStack/src/ppStackReject.c

    r26076 r27004  
    6161    }
    6262    if (!psThreadPoolWait(true)) {
    63         psError(PS_ERR_UNKNOWN, false, "Unable to concatenate inspection lists.");
     63        psError(psErrorCodeLast(), false, "Unable to concatenate inspection lists.");
    6464        return false;
    6565    }
     
    172172
    173173    if (numRejected >= num - 1) {
    174         psError(PS_ERR_UNKNOWN, true, "All inputs completely rejected; unable to proceed.");
     174        psError(PPSTACK_ERR_REJECTED, true, "All inputs completely rejected; unable to proceed.");
    175175        return false;
    176176    }
Note: See TracChangeset for help on using the changeset viewer.