#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include "fitsio.h"
Go to the source code of this file.
Define Documentation
#define MAXERRSTRINGSIZE 4096 |
#define operaErrorCodeBracketingError 705 |
#define operaErrorCodeDatatypeNotSupported 702 |
#define operaErrorCodeEnvironmentnotset 701 |
#define operaErrorCodeNoFilename 703 |
#define operaErrorCodeNOTIMPLEMENTED 32766 |
#define operaErrorCodeNULL 32767 |
#define operaErrorCodeNULLString 32768 |
#define operaErrorCodeOK 0 |
#define operaErrorCodeTileError 704 |
#define operaErrorHeaderProblem 32761 |
#define operaErrorIsInf 32759 |
#define operaErrorIsNaN 32760 |
#define operaErrorNoBadPixelMask 32762 |
#define operaErrorNoInput 32764 |
#define operaErrorNoOutput 32765 |
#define operaErrorPickOutofRange 32763 |
#define operaErrorReductionSetEtypeFailed 804 |
#define operaErrorReductionSetEtypeNotDefined 800 |
#define operaErrorReductionSetInputNotFound 805 |
#define operaErrorReductionSetObstypeKeyNotDefined 803 |
#define operaErrorReductionSetQualiKeyNotDefined 801 |
#define operaErrorReductionSetQualiValNotDefined 802 |
Typedef Documentation
Function Documentation
static void operaPError |
( |
const char * |
prefix, |
|
|
const operaErrorCode |
errcode |
|
) |
| [static] |
{operaPErrorwill first print prefix followed by a colon and a space to standard error. Then, it will print the result of strerror to standard error, followed by a newline character.}
void operaPError(const char* prefix, const operaErrorCode errcode)
- Parameters:
-
prefix | is a char pointer to the prefix to use |
errcode | is an operaErrorCode |
- Returns:
- void
Variable Documentation
{This function generates and reports a C-style string, containing an error message derived from the error code passed in with errcode.}
void operaStrError(const operaErrorCode errcode)
- Parameters:
-
errcode | is an operaErrorCode |
- Note:
- non-reentrant
- Returns:
- char *