/* Copyright 1996 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* errors.h */

#define ERROR_BASE 0x00000BE0           /* now claimed in Hdr.NewErrors */

/* This file must be kept consistent with the Messages file */
#define ERR_OPENFAIL       0    /* File '%0' could not be opened */
#define ERR_NOSPACE        1    /* RMA allocation failed */
#define ERR_INCONSISTENT   2    /* Inconsistent parameters for mode '%1' in file %0 */
#define ERR_EOF            3    /* Unexpected end of file at line %1 of file %0 */
#define ERR_EXPCHAR        4    /* Character '%2' was expected at line %1 of file %0 */
#define ERR_VALUEOVF       5    /* Overlarge value for parameter at line %1 of file %0 */
#define ERR_EXTRAINPUT     6    /* Extraneous trailing input at line %1 of file %0 */
#define ERR_EXPNUM         7    /* Number expected at line %1 of file %0 */
#define ERR_EXPKEY         8    /* Keyword %2 was expected at line %1 of file %0 */
#define ERR_REPKEY         9    /* Keyword %2 repeated at line %1 of file %0 */
#define ERR_NOMODENAME    10    /* No mode_name field in mode ending at line %1 of file %0 */
#define ERR_INCOMPLETE    11    /* Incomplete definition for mode '%2' in file %0 */
#define ERR_UNKNOWNPAR    12    /* Unknown parameter name at line %1 of file %0 */
#define ERR_WRONGCONTEXT  13    /* Wrong context for keyword '%2' at line %1 of file %0 */
#define ERR_UNKNOWNFMT    14    /* Unknown file format code at line %1 of file %0 */
#define ERR_BLANKMONTITLE 15    /* Blank monitor title given at line %1 of file %0 */
#if 0
#define ERR_BLANKMODENAME 16    /* Blank mode name at line %1 of file %0 */
#define ERR_DUPMODENAME   17    /* Duplicate mode name '%1' in file %0 */
#endif
#define ERR_NOMODES       18    /* No mode definitions found in file %0 */
#define ERR_INVALIDPAR    19    /* Invalid parameter value at line %1 of file %0 */
#define ERR_NOMODEFILE    20    /* No monitor description file loaded */
#if 0
#define ERR_UNKNOWNSWI    21    /* SWI value out of range for module ScreenModes */
#endif
#define ERR_BADREADINFO   22    /* Unknown ScreenModes_ReadInfo call */
#define ERR_EXPNUM2       23    /* Number expected */
#define ERR_VALUEOVF2     24    /* Overlarge value for parameter */
#define ERR_BADCHECKSUM   25    /* EDID Checksum failed */
#define ERR_CANTREADEDID  26    /* Cannot read EDID */
#define ERR_IICOPFAIL     27    /* IICStatus reported an error reading EDID */
#define ERR_BADENUMAUDIO  28    /* Bad ScreenModes_EnumerateAudioFormats flags */
#define ERR_INVALIDEDID   29    /* Invalid EDID block */

/* EOF errors.h */