psError.h File Reference


Detailed Description

error reporting functions

Error reporting functions shall be used to create log entries in the event errors are detected. The messages shall give enough information to allow the user to know where the error has occurred and the type of error detected.

Author:
RHL, Princeton

Eric Van Alst, MHPCC

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

Definition in file psError.h.

#include <stdio.h>
#include <stdbool.h>
#include <stdarg.h>
#include "psErrorCodes.h"

Include dependency graph for psError.h:

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

Go to the source code of this file.

Data Structures

struct  psErr
 Error message object. More...

Defines

#define _(string)   string

Functions

psErrpsErrorGet (long which)
 Get a error from the error stack.
psErrpsErrorLast (void)
 Get last error put on the error stack.
psErrorCode psErrorCodeLast (void)
 Get errorCode of last error put on the error stack.
void psErrorClear (void)
 Clears the error stack.
long psErrorGetStackSize ()
 Get the error stack depth.
void psErrorStackPrint (FILE *fd, const char *format,...)
 Prints error stack to specified open file descriptor.
void psErrorStackPrintV (FILE *fd, const char *format, va_list va)
 Prints error stack to specified open file descriptor.
psErrorCode psError (psErrorCode code, psBool new, const char *format,...)
 Reports an error message to the logging facility.
void psWarning (const char *format,...)
 Logs a warning message.
psErrpsErrAlloc (const char *name, psErrorCode code, const char *msg)
 Create a new psErr struct.


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