[4.2]errortext

$Revision: 1.4 $

$Date: 2002/06/11 01:19:57 $

errortext — An error message.

Synopsis

Mixed Content Model

errortext ::=
(#PCDATA|replaceable|inlinegraphic|inlinemediaobject|indexterm|
 beginpage)*

Attributes

Common attributes

Description

ErrorText holds the text of an error message.

DocBook provides four elements for identifying the parts of an error message: ErrorCode, for the alphanumeric error code (e.g., “-2”); ErrorName, for the symbolic name of the error (e.g., “ENOENT”); ErrorText, for the text of the error message (e.g., “file not found”); and ErrorType, for the error type (e.g., “recoverable”).

Prior to DocBook V4.2, the ErrorName element was the recommended element for error messages. However, this left no element for symoblic names, so the ErrorText element was added and the semantics of the error elements adjusted slightly.

Processing expectations

Formatted inline.

Children

The following elements occur in errortext: beginpage, indexterm, inlinegraphic, inlinemediaobject, replaceable.

See Also

errorcode, errorname, errortype, msgset.