Recording Error Messages
List of: Discussion Topic
Subjects: Error Handling
Contents: Application Development Manual

Error messages for each module are recorded in a <modname>.msg file. The <modname>.msg file associates a mnemonic integer value (the error code) with a string (the error message). The following is a fragment of the api.msg file:

API_FAILED

"operation unsuccessful"
EMPTY_ARRAY

"array with no members given"
...

SMALL_RAD1

"radius 1 is too small"
SMALL_RAD2

"radius 2 is too small"
SMALL_LENGTH
"length is too small"
...

When a new module is added, create a new <modname>.msg file.
PDF/APPDEV/06ERR.PDF
HTM/DATA/ACIS/APPDEV/06ERR/0011.HTM