Exodus 7.22

Macros
Error return codes - #exerrval return values

## Macros
#define | EX_MEMFAIL 1000
#define | EX_BADFILEMODE 1001
#define | EX_BADFILEID 1002
#define | EX_WRONGFILETYPE 1003
#define | EX_LOOKUPFAIL 1004
#define | EX_BADPARAM 1005
#define | EX_INTERNAL 1006
#define | EX_MSG -1000
#define | EX_PRTLASTMSG -1001
#define | EX_NOTROOTID -1002
#define | EX_LASTERR -1003
#define | EX_NULLENTITY -1006
#define | EX_DUPLICATEID -1007
#define | EX_FATAL -1
#define | EX_NOERR 0
#define | EX_WARN 1

## Detailed Description

## Macro Definition Documentation

## ◆ EX_BADFILEID

#define EX_BADFILEID 1002

bad file id def

## ◆ EX_BADFILEMODE

#define EX_BADFILEMODE 1001

bad file mode def

## ◆ EX_BADPARAM

#define EX_BADPARAM 1005

bad parameter passed

## ◆ EX_DUPLICATEID

#define EX_DUPLICATEID -1007

duplicate id found

## ◆ EX_FATAL

#define EX_FATAL -1

fatal error flag def

## ◆ EX_INTERNAL

#define EX_INTERNAL 1006

internal logic error

Examples
  /test/test_ts_errval.c.

## ◆ EX_LASTERR

#define EX_LASTERR -1003

in ex_err, use existing err_num value

## ◆ EX_LOOKUPFAIL

#define EX_LOOKUPFAIL 1004

id table lookup failed

## ◆ EX_MEMFAIL

#define EX_MEMFAIL 1000

memory allocation failure flag def

Examples
  /test/test_ts_errval.c.

## ◆ EX_MSG

#define EX_MSG -1000

message print code - no error implied

## ◆ EX_NOERR

#define EX_NOERR 0

no error flag def

## ◆ EX_NOTROOTID

#define EX_NOTROOTID -1002

file id is not the root id; it is a subgroup id

## ◆ EX_NULLENTITY

#define EX_NULLENTITY -1006

null entity found

## ◆ EX_PRTLASTMSG

#define EX_PRTLASTMSG -1001

print last error message msg code

## ◆ EX_WARN

#define EX_WARN 1

warning flag def

## ◆ EX_WRONGFILETYPE

#define EX_WRONGFILETYPE 1003

wrong file type for function