OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
errormacros.h File Reference
#include <stdio.h>
Include dependency graph for errormacros.h:

Go to the source code of this file.

Macros

#define ERROR(msg)
 
#define HDFEOS_ERROR_CHECK(msg)
 
#define MEM_ERROR_CHECK(msg)
 
#define WRN_LOG_JUMP(msg)   goto ERROR_HANDLE;
 

Macro Definition Documentation

#define ERROR (   msg)
Value:
{ \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}

Definition at line 16 of file errormacros.h.

#define HDFEOS_ERROR_CHECK (   msg)
Value:
if (hdfeos_status_code == FAIL) { \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}

Definition at line 6 of file errormacros.h.

#define MEM_ERROR_CHECK (   msg)
Value:
if (mem_status_code == NULL) { \
fprintf(stderr, "Error: %s at line %d\n", msg, __LINE__); \
exit(1); \
}
#define NULL
Definition: wcsUtil.h:65

Definition at line 11 of file errormacros.h.

#define WRN_LOG_JUMP (   msg)    goto ERROR_HANDLE;

Definition at line 29 of file errormacros.h.