php-doc-en/reference/dbplus/constants.xml
Christoph Michael Becker 86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00

367 lines
11 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<appendix xml:id="dbplus.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<section xml:id="dbplus.errorcodes">
<title>db++ error codes</title>
<para>
<table>
<title>DB++ Error Codes</title>
<tgroup cols="3">
<thead>
<row>
<entry>PHP Constant</entry>
<entry>db++ constant</entry>
<entry>meaning</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<constant xml:id="constant.dbplus-err-noerr">DBPLUS_ERR_NOERR</constant>
(<type>int</type>)
</entry>
<entry>ERR_NOERR</entry>
<entry>Null error condition</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-duplicate">DBPLUS_ERR_DUPLICATE</constant>
(<type>int</type>)
</entry>
<entry>ERR_DUPLICATE</entry>
<entry>Tried to insert a duplicate tuple</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-eoscan">DBPLUS_ERR_EOSCAN</constant>
(<type>int</type>)
</entry>
<entry>ERR_EOSCAN</entry>
<entry>End of scan from <literal>rget()</literal></entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-empty">DBPLUS_ERR_EMPTY</constant>
(<type>int</type>)
</entry>
<entry>ERR_EMPTY</entry>
<entry>Relation is empty (server)</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-close">DBPLUS_ERR_CLOSE</constant>
(<type>int</type>)
</entry>
<entry>ERR_CLOSE</entry>
<entry>The server can't close</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-wlocked">DBPLUS_ERR_WLOCKED</constant>
(<type>int</type>)
</entry>
<entry>ERR_WLOCKED</entry>
<entry>The record is write locked</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-locked">DBPLUS_ERR_LOCKED</constant>
(<type>int</type>)
</entry>
<entry>ERR_LOCKED</entry>
<entry>Relation was already locked</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-nolock">DBPLUS_ERR_NOLOCK</constant>
(<type>int</type>)
</entry>
<entry>ERR_NOLOCK</entry>
<entry>Relation cannot be locked</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-read">DBPLUS_ERR_READ</constant>
(<type>int</type>)
</entry>
<entry>ERR_READ</entry>
<entry>Read error on relation</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-write">DBPLUS_ERR_WRITE</constant>
(<type>int</type>)
</entry>
<entry>ERR_WRITE</entry>
<entry>Write error on relation</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-create">DBPLUS_ERR_CREATE</constant>
(<type>int</type>)
</entry>
<entry>ERR_CREATE</entry>
<entry><literal>Create()</literal> system call failed</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-lseek">DBPLUS_ERR_LSEEK</constant>
(<type>int</type>)
</entry>
<entry>ERR_LSEEK</entry>
<entry><literal>Lseek()</literal> system call failed</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-length">DBPLUS_ERR_LENGTH</constant>
(<type>int</type>)
</entry>
<entry>ERR_LENGTH</entry>
<entry>Tuple exceeds maximum length</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-open">DBPLUS_ERR_OPEN</constant>
(<type>int</type>)
</entry>
<entry>ERR_OPEN</entry>
<entry><literal>Open()</literal> system call failed</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-wopen">DBPLUS_ERR_WOPEN</constant>
(<type>int</type>)
</entry>
<entry>ERR_WOPEN</entry>
<entry>Relation already opened for writing</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-magic">DBPLUS_ERR_MAGIC</constant>
(<type>int</type>)
</entry>
<entry>ERR_MAGIC</entry>
<entry>File is not a relation</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-version">DBPLUS_ERR_VERSION</constant>
(<type>int</type>)
</entry>
<entry>ERR_VERSION</entry>
<entry>File is a very old relation</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-pgsize">DBPLUS_ERR_PGSIZE</constant>
(<type>int</type>)
</entry>
<entry>ERR_PGSIZE</entry>
<entry>Relation uses a different page size</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-crc">DBPLUS_ERR_CRC</constant>
(<type>int</type>)
</entry>
<entry>ERR_CRC</entry>
<entry>Invalid crc in the superpage</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-pipe">DBPLUS_ERR_PIPE</constant>
(<type>int</type>)
</entry>
<entry>ERR_PIPE</entry>
<entry>Piped relation requires <literal>lseek()</literal></entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-nidx">DBPLUS_ERR_NIDX</constant>
(<type>int</type>)
</entry>
<entry>ERR_NIDX</entry>
<entry>Too many secondary indices</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-malloc">DBPLUS_ERR_MALLOC</constant>
(<type>int</type>)
</entry>
<entry>ERR_MALLOC</entry>
<entry><literal>Malloc()</literal> call failed</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-nusers">DBPLUS_ERR_NUSERS</constant>
(<type>int</type>)
</entry>
<entry>ERR_NUSERS</entry>
<entry>Error use of max users</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-preexit">DBPLUS_ERR_PREEXIT</constant>
(<type>int</type>)
</entry>
<entry>ERR_PREEXIT</entry>
<entry>Caused by invalid usage</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-ontrap">DBPLUS_ERR_ONTRAP</constant>
(<type>int</type>)
</entry>
<entry>ERR_ONTRAP</entry>
<entry>Caused by a signal</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-preproc">DBPLUS_ERR_PREPROC</constant>
(<type>int</type>)
</entry>
<entry>ERR_PREPROC</entry>
<entry>Error in the preprocessor</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-dbparse">DBPLUS_ERR_DBPARSE</constant>
(<type>int</type>)
</entry>
<entry>ERR_DBPARSE</entry>
<entry>Error in the parser</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-dbrunerr">DBPLUS_ERR_DBRUNERR</constant>
(<type>int</type>)
</entry>
<entry>ERR_DBRUNERR</entry>
<entry>Run error in db</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-dbpreexit">DBPLUS_ERR_DBPREEXIT</constant>
(<type>int</type>)
</entry>
<entry>ERR_DBPREEXIT</entry>
<entry>Exit condition caused by <literal>prexit()</literal> * procedure</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-wait">DBPLUS_ERR_WAIT</constant>
(<type>int</type>)
</entry>
<entry>ERR_WAIT</entry>
<entry>Wait a little (Simple only)</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-corrupt-tuple">DBPLUS_ERR_CORRUPT_TUPLE</constant>
(<type>int</type>)
</entry>
<entry>ERR_CORRUPT_TUPLE</entry>
<entry>A client sent a corrupt tuple</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-warning0">DBPLUS_ERR_WARNING0</constant>
(<type>int</type>)
</entry>
<entry>ERR_WARNING0</entry>
<entry>
The Simple routines encountered a non fatal error which was
corrected
</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-panic">DBPLUS_ERR_PANIC</constant>
(<type>int</type>)
</entry>
<entry>ERR_PANIC</entry>
<entry>
The server should not really die but after a disaster
send ERR_PANIC to all its clients
</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-fifo">DBPLUS_ERR_FIFO</constant>
(<type>int</type>)
</entry>
<entry>ERR_FIFO</entry>
<entry>Can't create a fifo</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-perm">DBPLUS_ERR_PERM</constant>
(<type>int</type>)
</entry>
<entry>ERR_PERM</entry>
<entry>Permission denied</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-tcl">DBPLUS_ERR_TCL</constant>
(<type>int</type>)
</entry>
<entry>ERR_TCL</entry>
<entry>TCL_error</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-restricted">DBPLUS_ERR_RESTRICTED</constant>
(<type>int</type>)
</entry>
<entry>ERR_RESTRICTED</entry>
<entry>Only two users</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-user">DBPLUS_ERR_USER</constant>
(<type>int</type>)
</entry>
<entry>ERR_USER</entry>
<entry>
An error in the use of the library by an application
programmer
</entry>
</row>
<row>
<entry>
<constant xml:id="constant.dbplus-err-unknown">DBPLUS_ERR_UNKNOWN</constant>
(<type>int</type>)
</entry>
<entry>ERR_UNKNOWN</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->