Class hierarchy   Compound list   File list   Compound Members   File Members  

errdesc.h File Reference

Defines

Functions


Define Documentation

#define __ERRDESC_H

#define ERROR_IS_WARNING(err)

checks whether a given error number is a warning or not

#define ERROR_ITOP_SYNTAX

Error: Syntax at top level violated

#define ERROR_ITOP_FILETYPE

Error: Top-level filename is neither .w nor .fin

#define ERROR_FILE_ROPEN

Error: Can't open file for reading

#define ERROR_EOF_IN_BLOCK

Error: Encountered EOF while reading a block

#define ERROR_EXPECTED_FNAME

Error: Filename expected but something else found

#define ERROR_MAXFOPTS_EXCEEDED

Error: Limit MAXFOPTS exceeded, following statements unparseable

#define ERROR_DUPLICATE_IFILE

Error: Multiple command file arguments

#define ERROR_NO_IFILE

Error: No command file specified

#define ERROR_DUPLICATE_OFILE

Error: Multiple create sections

#define ERROR_EMPTY_OFILE

Error: Empty create section

#define ERROR_BEND_EXPECTED

Error: End-of-block expected, found trailing garbage

#define ERROR_UNKNOWN_OPTION

Error: Option isn't known

#define ERROR_EXPECTED_KEY

Error: Keyword expected

#define ERROR_EXPECTED_TED_KEY

(defunct error)

#define ERROR_BBEGIN_EXPECTED

Error: Expected opening bracket

#define ERROR_NUMBER_RANGE

Error: Number is out of range

#define ERROR_OFILE_SUFFIX

Error: Output file has no supported suffix

#define ERROR_EXPECTED_NUMBER

Error: Number expected

#define ERROR_AMBIGUOUS_NAME

Error: Filename is ambiguous

#define ERROR_MULTIPLE_W_MOD

Error: duplicate W modifier

#define ERROR_TEXDEF_SYNTAX

#define ERROR_TEXDEF_SMALL

Error: texdef is small

#define ERROR_TEXDEF_WILDCARD

Error: texdef: sheet wildcard forbidden

#define ERROR_W_IN_AND_OUT

Error: .w both to be read and written

#define ERROR_COMMENT_EOF

Warning: Comment never closed

#define ERROR_COMMENT_NOBEGIN

Warning: Comment-closing bracket outside a comment

#define ERROR_EMPTY_FILEOPT

Warning: File option list is empty, thus useless

#define ERROR_DUPLICATE_FILEOPT

Warning: File option list defined multiple times

#define ERROR_DUPLICATE_GLOBAL

Warning: Multiple global sections

#define ERROR_USELESS_BLOCK

Warning: Block started where no preceeding keyword required one

#define ERROR_W_ENV_NOT_FOUND

Warning: .w file contains non-empty stuff between funnyballs and envmap list, can't parse that

#define ERROR_IM_HEADER

Warning: .i-w or .i-p has non-zero within the first 16 bytes

#define ERROR_TEXDEF_TRAIL

Warning: Texdef part is too long

#define ERROR_FIN_MATCHES_W

Warning: .fin matches target track


Function Documentation

void describe_error(int errnum)

if not disabled by the user this functions prints out a brief description on the error errnum and what it means

void perror(int level, int errnum, const char *args, ...)

prints out an error message.

Parameters:
errnum - error code: one of the ERROR_ defines
level - message level for this error.
args - text to print. Message is preceeded by either "Error:" or "Warning:"

calls describe_error()


Generated at Wed May 31 21:08:19 2000 for Rvtmod/rvglue by doxygen  written by Dimitri van Heesch, © 1997-1998