74 return "LibRan - No Error";
76 return "LibRan - Unspecified Error";
78 return "LibRan - Bad Data Type given";
80 return "LibRan - Bad Random Variate Type given";
82 return "LibRan - Required Auxiliary Object not found";
84 return "LibRan - Auxiliary Object requires normalization";
86 return "LibRan - Auxiliary Object incorrectly set-up";
88 return "LibRan - Binning Object Unspecified Error";
90 return "LibRan - Too Many Values given";
92 return "LibRan - Invalid Input Value Error";
94 return "LibRan - Invalid Range Value Error";
96 return "LibRan - Preconditions Not Performed";
98 return "LibRan - Suspicious Value - Normalization Error?";
100 return "LibRan - Memory Allocation Error";
102 return "LibRan - Invalid errno";
117 return "LRerr_Unspecified";
119 return "LRerr_BadDataType";
121 return "LRerr_BadLRType";
123 return "LRerr_NoAuxiliaryObject";
125 return "LRerr_NoAuxNormalizeDone";
127 return "LRerr_BadAuxSetup";
129 return "LRerr_BinGeneric";
131 return "LRerr_TooManyValues";
133 return "LRerr_InvalidInputValue";
135 return "LRerr_InvalidRange";
137 return "LRerr_UnmetPreconditions";
139 return "LRerr_SuspiciousValues";
141 return "LRerr_AllocFail";
159 fprintf(stderr,
"%s : %s\n", str,
LRstrerror(LRerrno));
#define LRerr_SuspiciousValues
#define LRerr_BadAuxSetup
#define LRerr_TooManyValues
char * LRstrerror(int LRerrno)
LRstrerror(int LRerrno) - return some explanatory text regarding the given LibRan errno...
#define LRerr_UnmetPreconditions
void LRperror(char *str, int LRerrno)
LRperror(char *str, int LRerrno) - print out explanatory error message to stderr. ...
#define LRerr_InvalidRange
#define LRerr_NoAuxNormalizeDone
#define LRerr_BadDataType
char * LRstrerrno(int LRerrno)
LRstrerrno(int LRerrno) - return the errno code string for the given LibRan errno.
#define LRerr_NoAuxiliaryObject
The LibRan common header file.
#define LRerr_Unspecified
#define LRerr_InvalidInputValue