Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psError.h File Reference


Detailed Description

Contains the declarations for the 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:
Eric Van Alst, MHPCC
Version:
Revision
1.25
Name
rel7
Date:
Date
2005/07/15 02:33:54
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.

Functions

psErrpsErrorGet (psS32 which)
 Get a error from the error stack.
psErrpsErrorLast (void)
 Get last error put on the error stack.
void psErrorClear (void)
 Clears the error stack.
unsigned int 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 *fmt,...)
 Reports an error message to the logging facility.
void psWarning (const char *fmt,...)
 Logs a warning message.
psErrpsErrAlloc (const char *name, psErrorCode code, const char *msg)
 Create a new psErr struct.


Generated on Wed Sep 14 10:42:58 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2