psErrorCodes.h File Reference


Detailed Description

Contains the error codes for the error classes.

Author:
RHL, Princeton

Robert DeSonia, MHPCC

Version:
Revision
1.4
Name
Date:
Date
2007/01/23 22:47:23
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psErrorCodes.h.

#include "psType.h"

Include dependency graph for psErrorCodes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psErrorDescription
 An error code with description. More...

Enumerations

enum  psErrorCode {
  PS_ERR_NONE = 0, PS_ERR_BASE = 256, PS_ERR_UNKNOWN, PS_ERR_IO, PS_ERR_LOCATION_INVALID, PS_ERR_MEMORY_CORRUPTION, PS_ERR_MEMORY_DEREF_USAGE, PS_ERR_BAD_PARAMETER_VALUE, PS_ERR_BAD_PARAMETER_TYPE, PS_ERR_BAD_PARAMETER_NULL,
  PS_ERR_BAD_PARAMETER_SIZE, PS_ERR_UNEXPECTED_NULL, PS_ERR_OS_CALL_FAILED, PS_ERR_BAD_FITS, PS_ERR_IEEE, PS_ERR_DB_CLIENT, PS_ERR_DB_SERVER, PS_ERR_N_ERR_CLASSES
}
 enumeration of the static error code classes More...

Functions

psErrorDescriptionpsErrorDescriptionAlloc (psErrorCode code, const char *description)
 Allocates a new psErrorDescription.
const char * psErrorCodeString (psErrorCode code)
 Retrieves the description of an error code.
void psErrorRegister (const psErrorDescription *errors, int errorCode)
 Register an error code.
psBool p_psErrorUnregister (psErrorCode code)
 Clears error codes registered via psErrorRegister.


Generated on Fri Feb 2 22:24:48 2007 for pslib by  doxygen 1.5.1