mirror of https://github.com/ecmwf/eccodes.git
Error messages
This commit is contained in:
parent
9d4d83b0f8
commit
560e10f6d9
|
@ -1527,7 +1527,7 @@ Error codes returned by the eccodes functions.
|
|||
#define CODES_WRONG_STEP_UNIT GRIB_WRONG_STEP_UNIT
|
||||
/** Invalid file id */
|
||||
#define CODES_INVALID_FILE GRIB_INVALID_FILE
|
||||
/** Invalid grib id */
|
||||
/** Invalid GRIB id */
|
||||
#define CODES_INVALID_GRIB GRIB_INVALID_GRIB
|
||||
/** Invalid index id */
|
||||
#define CODES_INVALID_INDEX GRIB_INVALID_INDEX
|
||||
|
|
|
@ -1658,7 +1658,7 @@ Error codes returned by the grib_api functions.
|
|||
#define GRIB_WRONG_STEP_UNIT -26
|
||||
/** Invalid file id */
|
||||
#define GRIB_INVALID_FILE -27
|
||||
/** Invalid grib id */
|
||||
/** Invalid GRIB id */
|
||||
#define GRIB_INVALID_GRIB -28
|
||||
/** Invalid index id */
|
||||
#define GRIB_INVALID_INDEX -29
|
||||
|
|
|
@ -40,7 +40,7 @@ static const char *errors[] = {
|
|||
"Unable to set step", /* -25 GRIB_WRONG_STEP */
|
||||
"Wrong units for step (step must be integer)", /* -26 GRIB_WRONG_STEP_UNIT */
|
||||
"Invalid file id", /* -27 GRIB_INVALID_FILE */
|
||||
"Invalid grib id", /* -28 GRIB_INVALID_GRIB */
|
||||
"Invalid GRIB id", /* -28 GRIB_INVALID_GRIB */
|
||||
"Invalid index id", /* -29 GRIB_INVALID_INDEX */
|
||||
"Invalid iterator id", /* -30 GRIB_INVALID_ITERATOR */
|
||||
"Invalid keys iterator id", /* -31 GRIB_INVALID_KEYS_ITERATOR */
|
||||
|
|
|
@ -29,7 +29,7 @@ GRIB_WRONG_STEP Unable to set step
|
|||
GRIB_WRONG_STEP_UNIT Wrong units for step (step must be integer)
|
||||
/* some errors for the fortran interface */
|
||||
GRIB_INVALID_FILE Invalid file id
|
||||
GRIB_INVALID_GRIB Invalid grib id
|
||||
GRIB_INVALID_GRIB Invalid GRIB id
|
||||
GRIB_INVALID_INDEX Invalid index id
|
||||
GRIB_INVALID_ITERATOR Invalid iterator id
|
||||
GRIB_INVALID_KEYS_ITERATOR Invalid keys iterator id
|
||||
|
|
Loading…
Reference in New Issue