IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2004, 3:05:00 PM (22 years ago)
Author:
desonia
Message:

changed the psError signature to match SDRS. Also made misc. cleanups as
I was combing the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psErrorCodes.c

    r2204 r2273  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-10-27 00:57:31 $
     9 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-11-04 01:05:00 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4646            {PS_ERR_BAD_PARAMETER_NULL,"parameter is null"},
    4747            {PS_ERR_BAD_PARAMETER_SIZE,"size of parameter's data is outside of acceptable range."},
    48             {PS_ERR_UNEXPECTED_NULL,"unexpected NULL foun"},
     48            {PS_ERR_UNEXPECTED_NULL,"unexpected NULL found"},
     49            {PS_ERR_OS_CALL_FAILED,"unexpected result from an OS standard library call"},
    4950            //~End
    5051            {PS_ERR_N_ERR_CLASSES,"error classes end marker"}
     
    132133
    133134    if (errors == NULL) {
    134         psErrorMsg(PS_ERRORNAME_DOMAIN "psErrorRegister",
    135                    PS_ERR_BAD_PARAMETER_NULL, true,
    136                    PS_ERRORTEXT_psErrorCode_NULL_ERRORDESCRIPTION);
     135        psError(PS_ERR_BAD_PARAMETER_NULL, true,
     136                PS_ERRORTEXT_psErrorCode_NULL_ERRORDESCRIPTION);
    137137        return;
    138138    }
     
    152152                        err) ) {
    153153
    154             psErrorMsg(PS_ERRORNAME_DOMAIN "psErrorRegister",
    155                        PS_ERR_UNKNOWN, false,
    156                        PS_ERRORTEXT_psErrorCode_ERRORCODE_REGISTER_FAILED,
    157                        i);
     154            psError(PS_ERR_UNKNOWN, false,
     155                    PS_ERRORTEXT_psErrorCode_ERRORCODE_REGISTER_FAILED,
     156                    i);
    158157        }
    159158        p_psMemSetPersistent(dynamicErrorCodes->head,true);
Note: See TracChangeset for help on using the changeset viewer.