IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2010, 5:36:13 PM (16 years ago)
Author:
Paul Price
Message:

Being better about errors and their mapping to exit codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadoutJpeg.c

    r26899 r26982  
    3333    pmReadout *ro1 = pmReadoutAlloc(cell1), *ro2 = pmReadoutAlloc(cell2); // Binned readouts
    3434    if (!pmReadoutRebin(ro1, outRO, maskBad, bin1, bin1)) {
    35         psError(PS_ERR_UNKNOWN, false, "Unable to bin output (1st binning)");
     35        psError(PPSUB_ERR_DATA, false, "Unable to bin output (1st binning)");
    3636        psFree(ro1);
    3737        psFree(ro2);
     
    3939    }
    4040    if (!pmReadoutRebin(ro2, ro1, 0, bin2, bin2)) {
    41         psError(PS_ERR_UNKNOWN, false, "Unable to bin output (2nd binning)");
     41        psError(PPSUB_ERR_DATA, false, "Unable to bin output (2nd binning)");
    4242        psFree(ro1);
    4343        psFree(ro2);
Note: See TracChangeset for help on using the changeset viewer.