/usr/share/doc/libwreport-doc/apidocs/error_8h.html is in libwreport-doc 3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>libwreport: error.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libwreport
 <span id="projectnumber">3.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a77a435eba5a6a11d9ac0a833d87986c.html">wreport</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#define-members">Macros</a> |
<a href="#enum-members">Enumerations</a> </div>
<div class="headertitle">
<div class="title">error.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>wreport exceptions.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include <stdexcept></code><br />
<code>#include <string></code><br />
</div>
<p><a href="error_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error.html">wreport::error</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for DB-All.e exceptions. <a href="structwreport_1_1error.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__alloc.html">wreport::error_alloc</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Reports that memory allocation has failed. <a href="structwreport_1_1error__alloc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1errors_1_1StringBase.html">wreport::errors::StringBase< ERROR_CODE ></a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__notfound.html">wreport::error_notfound</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Reports that a search-like function could not find what was requested. <a href="structwreport_1_1error__notfound.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__type.html">wreport::error_type</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">For functions handling data with multiple types, reports a mismatch between the type requested and the type found. <a href="structwreport_1_1error__type.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__handles.html">wreport::error_handles</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">For functions working with handles, reports a problem with handling handles, such as impossibility to allocate a new one, or an invalid handle being passed to the function. <a href="structwreport_1_1error__handles.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__toolong.html">wreport::error_toolong</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report an error with a buffer being to short for the data it needs to fit. <a href="structwreport_1_1error__toolong.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__system.html">wreport::error_system</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report a system error message. <a href="structwreport_1_1error__system.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__consistency.html">wreport::error_consistency</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report an error when a consistency check failed. <a href="structwreport_1_1error__consistency.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__parse.html">wreport::error_parse</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report an error when parsing informations. <a href="structwreport_1_1error__parse.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__regexp.html">wreport::error_regexp</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report an error while handling regular expressions. <a href="structwreport_1_1error__regexp.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__unimplemented.html">wreport::error_unimplemented</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Reports that a feature is still not implemented. <a href="structwreport_1_1error__unimplemented.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__domain.html">wreport::error_domain</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Report that a parameter is outside the acceptable domain. <a href="structwreport_1_1error__domain.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacewreport"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacewreport.html">wreport</a></td></tr>
<tr class="memdesc:namespacewreport"><td class="mdescLeft"> </td><td class="mdescRight">String functions. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ac90261814c6621766ebec4d00df9f794"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac90261814c6621766ebec4d00df9f794"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="error_8h.html#ac90261814c6621766ebec4d00df9f794">WREPORT_THROWF_ATTRS</a>(a, b)   __attribute__ ((noreturn, format(printf, a, b)))</td></tr>
<tr class="memdesc:ac90261814c6621766ebec4d00df9f794"><td class="mdescLeft"> </td><td class="mdescRight">Tell the compiler that a function always throws and expects printf-style arguments. <br /></td></tr>
<tr class="separator:ac90261814c6621766ebec4d00df9f794"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a53c24a445a0ba1700685384ab3230af0"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0">wreport::ErrorCode</a> { <br />
  <a class="el" href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0a0a6009ec05f8781f071f1059556be8fb">wreport::WR_ERR_NONE</a> = 0,
<b>WR_ERR_NOTFOUND</b> = 1,
<b>WR_ERR_TYPE</b> = 2,
<b>WR_ERR_ALLOC</b> = 3,
<br />
  <b>WR_ERR_ODBC</b> = 4,
<b>WR_ERR_HANDLES</b> = 5,
<b>WR_ERR_TOOLONG</b> = 6,
<b>WR_ERR_SYSTEM</b> = 7,
<br />
  <b>WR_ERR_CONSISTENCY</b> = 8,
<b>WR_ERR_PARSE</b> = 9,
<b>WR_ERR_WRITE</b> = 10,
<b>WR_ERR_REGEX</b> = 11,
<br />
  <b>WR_ERR_UNIMPLEMENTED</b> = 12,
<b>WR_ERR_DOMAIN</b> = 13
<br />
}<tr class="memdesc:a53c24a445a0ba1700685384ab3230af0"><td class="mdescLeft"> </td><td class="mdescRight">C-style error codes used by exceptions. <a href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a53c24a445a0ba1700685384ab3230af0"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>wreport exceptions. </p>
<p>All wreport exceptions are derived from <a class="el" href="structwreport_1_1error.html" title="Base class for DB-All.e exceptions. ">wreport::error</a>, which is in turn derived from std::exception.</p>
<p>All wreport exceptions also have an exception specific error code, which makes it easy to turn a caught exception into an errno-style error code, when providing C or Fortran bindings. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Aug 18 2016 13:32:18 for libwreport by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
|