Debian Codegraph @

ru/refpages/elements/errorname/refentry.xml

raw symbols SCIP
1 <refentry id="errorname.element">
2 <?dbhtml filename="errorname.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>errorname</secondary></indexterm>
11 <refentrytitle>errorname</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>errorname</refname>
16 <refpurpose>&errorname.purpose;</refpurpose>
17 </refnamediv>
18
19 &errorname.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para><sgmltag>ErrorName</sgmltag> holds the symbolic name of an error.</para>
23
24 <para>DocBook provides four elements for identifying the parts of an error message:
25 <sgmltag>ErrorCode</sgmltag>, for the alphanumeric error code (e.g., <quote>-2</quote>);
26 <sgmltag>ErrorName</sgmltag>, for the symbolic name of the error
27 (e.g., <quote>ENOENT</quote>);
28 <sgmltag>ErrorText</sgmltag>, for the text of the error message (e.g., <quote>file
29 not found</quote>); and
30 <sgmltag>ErrorType</sgmltag>, for the error type (e.g., <quote>recoverable</quote>).
31 </para>
32
33 <para>Prior to DocBook V4.2, the <sgmltag>ErrorName</sgmltag> element was the
34 recommended element for error <emphasis>messages</emphasis>. However, this left no
35 element for symoblic names, so the <sgmltag>ErrorText</sgmltag> element was added
36 and the semantics of the error elements adjusted slightly.
37 </para>
38
39 <refsect2><title>Processing expectations</title>
40 <para>&format.inline;
41 </para>
42 </refsect2>
43
44
45 &errorname.parents.gen;
46 &errorname.children.gen;
47 </refsect1>
48 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
49 &errorname.seealso.gen;
50 </refsect1>
51 <refsect1><title>Examples</title>
52
53 &errorname.example.seealso.gen;
54 </refsect1>
55 </refentry>
56