|
|||||||||
|
|
|||||||||
| Related Syntax | |||||||||
| built-in variable | #error-code | ||||||||
Purpose
A built-in stream shelf that provides the SGML error code number. This stream shelf can be accessed only from the header and body of sgml-error rules.
Each SGML warning or error is assigned a unique error code number. These numbers are fixed for all future releases of OmniMark, although new ones may be added. These error code numbers provide a reliable way of identifying an error or warning since the message text can change, for example, as a result of user feedback.
The is specified test is always true for #error-code because the error code is present in all SGML error messages.
|
Related Syntax sgml-error #class #file-name #line-number #message #recovery-info #additional-info |
| ---- |