errortype — The classification of an error message
errortype ::=
alt
anchor
annotation
biblioref
indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)remark
replaceable
subscript
superscript
xref
The ErrorType
element identifies a class of error. The
exact classifications are naturally going to vary by system, but
“recoverable” and “fatal” are two possibilities.
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”).
These elements contain errortype
: bridgehead
, citation
, citetitle
, classsynopsisinfo
, emphasis
(db.emphasis), entry
, firstterm
, funcsynopsisinfo
, glosssee
, glossseealso
, glossterm
, html:button
, html:label
, html:legend
, link
, literallayout
, member
, olink
, orgdiv
, para
, phrase
(db.phrase), primary
, primaryie
, programlisting
, quote
, refdescriptor
, refentrytitle
, refname
, refpurpose
, screen
, secondary
, secondaryie
, see
, seealso
, seealsoie
, seeie
, seg
, segtitle
, simpara
, subtitle
, synopsis
, td
, term
, termdef
, tertiary
, tertiaryie
, th
, title
, titleabbrev
, tocentry
.
The following elements occur in errortype: text, alt
, anchor
, annotation
, biblioref
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), inlinemediaobject
, link
, olink
, phrase
(db._phrase), remark
, replaceable
, subscript
, superscript
, xref
.