Name

errorname — An error name

Synopsis

errorname ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

An errorname holds the symbolic name of an error.

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 symbolic names, so the errortext element was added and the semantics of the error elements adjusted slightly.

Processing expectations

Formatted inline.

See Also

errorcode, errortext, errortype, msgset

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.