#
#  This file is used to generate psFileUtilsErrors.h content
#
#  Format is:
#  ERRORNAME(one word)    ERROR_TEXT
#
#  N.B. in code, the ERRORNAME appears as PS_ERRORTEXT_ERRORNAME
####################################################################
psLookupTable_FILE_NOT_FOUND           Failed to open file %s.
psLookupTable_PARSE_VALUE              Unable to parse string, %s on line %lld.
psLookupTable_PARSE_TYPE               Unable to parse type, %s on line %lld.
psLookupTable_PARSE_GENERAL            Unable to read lookup table item, %s on line %lld
psLookupTable_INTERPOLATE_HIGH         High index too big, %d.
psLookupTable_INTERPOLATE_LOW          Low index too small, %d.
psLookupTable_DIVIDE_BY_ZERO           Divide by zero error during interpolation.
psLookupTable_INVALID_TYPE             Invalid psLookupType, %d;
psLookupTable_TABLE_INVALID            Lookup table is invalid.
#
psFits_NULL                            The input psFits object can not NULL.
psFits_FILENAME_INVALID                Could not open file,'%s'.\nCFITSIO Error: %s
psFits_FILENAME_NULL                   Specified filename can not be NULL.
psFits_EXTNAME_NULL                    Specified extension name can not be NULL.
psFits_EXTNAME_INVALID                 Could not find HDU '%s' in file %s.\nCFITSIO Error: %s
psFits_EXTNUM_ABS_MOVE_FAILED          Could not move to specified HDU #%d in file %s.\nCFITSIO Error: %s
psFits_EXTNUM_REL_MOVE_FAILED          Could not move %d HDUs from current position in file %s.\nCFITSIO Error: %s
psFits_GET_EXTNUM_FAILED               Failed to determine the current HDU number in file %s.\nCFITSIO Error: %s
psFits_GETNUMHDUS_FAILED               Failed to determine the number of HDUs in file %s.\nCFITSIO Error: %s
psFits_GETHDUTYPE_FAILED               Failed to determine an HDU type in file %s.\nCFITSIO Error: %s
psFits_GETNUMKEYS_FAILED               Failed to determine the number of header keys in file %s.\nCFITSIO Error: %s
psFits_GET_TABLE_SIZE_FAILED           Failed to determine the size of the current HDU table.\nCFITSIO Error: %s
psFits_FILENAME_CREATE_FAILED          Could not create file,'%s'.\nCFITSIO Error: %s
psFits_TYPE_UNSUPPORTED                Specified type, %s, is not supported.
psFits_CREATE_HDU_FAILED               Could not create new image HDU in file,'%s'.\nCFITSIO Error: %s
psFits_GET_HDU_TYPE_FAILED             Could not determine the HDU type.\nCFITSIO Error: %s
psFits_NOT_IMAGE_TYPE                  Current FITS HDU type must be an image.
psFits_NOT_TABLE_TYPE                  Current FITS HDU type must be a table.
psFits_TABLE_EMPTY                     Can't create a table without any rows.
psFits_CFITSIO_ERROR                   CFITSIO error: %s
psFits_METATYPE_INVALID                Specified FITS metadata type, %c, is not supported.
psFits_METADATA_ADD_FAILED             Failed to add metadata item, %s.
psFits_WRITE_FAILED                    Could not write data to file,'%s'.\nCFITSIO Error: %s
psFits_IMAGE_NULL                      The input psImage was NULL.  Need a non-NULL psImage for operation to be performed.
psFits_METADATA_NULL                   The input psMetadata was NULL.  Need a non-NULL psMetadata for operation to be performed.
psFits_METADATA_PTYPE_UNSUPPORTED      A metadata item's primative type, %d, is not supported.
psFits_ROW_INVALID                     Specified row, %d, is not valid for current table of %d rows.
psFits_GET_TABLE_ELEMENT               Failed to retrieve table element (%d,%d).\nCFITSIO Error: %s
psFits_FIND_COLUMN                     Specified column, %s, was not found.\nCFITSIO Error: %s
psFits_GET_COLTYPE                     Could not determine the datatype of the table column.\nCFITSIO Error: %s
psFits_TABLE_READ_COL                  Failed to read table column.\nCFITSIO Error: %s
psFits_DATATYPE_UNKNOWN                Could not determine image data type.\nCFITSIO Error: %s
psFits_IMAGE_DIM_UNKNOWN               Could not determine image dimensions.\nCFITSIO Error: %s
psFits_IMAGE_DIMENSION_UNSUPPORTED     Image number of dimensions, %d, is not valid.  Only two or three dimensions supported for FITS I/O.
psFits_IMAGE_SIZE_UNKNOWN              Could not determine image size.\nCFITSIO Error: %s
psFits_FITS_TYPE_UNSUPPORTED           FITS image type, BITPIX=%d, is not supported.
psFits_READ_FAILED                     Reading FITS file failed.\nCFITSIO Error: %s
psFits_IMAGE_UPDATE_TYPE_MISMATCH      Can not update a %s image given a %s image.
psFits_FITS_Z_SMALL                    Current FITS HDU has %d z-planes, but z-plane %d was specified.
#
