Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 1355

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>db++ error codes</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="dbplus.constants.html">Predefined Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.dbplus.html">DB++ Functions</a></div>
 <div class="up"><a href="dbplus.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="dbplus.errorcodes" class="section">
   <h2 class="title">db++ error codes</h2>
   <p class="para">
    <table class="doctable table">
     <caption><strong>DB++ Error Codes</strong></caption>
     
      <thead>
       <tr>
        <th>PHP Constant</th>
        <th>db++ constant</th>
        <th>meaning</th>
       </tr>

      </thead>

      <tbody class="tbody">
       <tr>
       <td>
        <strong><code>DBPLUS_ERR_NOERR</code></strong>
        (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
       </td>
        <td>ERR_NOERR</td>
        <td>Null error condition</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_DUPLICATE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_DUPLICATE</td>
        <td>Tried to insert a duplicate tuple</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_EOSCAN</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_EOSCAN</td>
        <td>End of scan from <em>rget()</em></td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_EMPTY</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_EMPTY</td>
        <td>Relation is empty (server)</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_CLOSE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_CLOSE</td>
        <td>The server can&#039;t close</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_WLOCKED</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_WLOCKED</td>
        <td>The record is write locked</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_LOCKED</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_LOCKED</td>
        <td>Relation was already locked</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_NOLOCK</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_NOLOCK</td>
        <td>Relation cannot be locked</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_READ</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_READ</td>
        <td>Read error on relation</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_WRITE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_WRITE</td>
        <td>Write error on relation</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_CREATE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_CREATE</td>
        <td><em>Create()</em> system call failed</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_LSEEK</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_LSEEK</td>
        <td><em>Lseek()</em> system call failed</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_LENGTH</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_LENGTH</td>
        <td>Tuple exceeds maximum length</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_OPEN</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_OPEN</td>
        <td><em>Open()</em> system call failed</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_WOPEN</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_WOPEN</td>
        <td>Relation already opened for writing</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_MAGIC</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_MAGIC</td>
        <td>File is not a relation</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_VERSION</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_VERSION</td>
        <td>File is a very old relation</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PGSIZE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PGSIZE</td>
        <td>Relation uses a different page size</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_CRC</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_CRC</td>
        <td>Invalid crc in the superpage</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PIPE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PIPE</td>
        <td>Piped relation requires <em>lseek()</em></td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_NIDX</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_NIDX</td>
        <td>Too many secondary indices</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_MALLOC</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_MALLOC</td>
        <td><em>Malloc()</em> call failed</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_NUSERS</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_NUSERS</td>
        <td>Error use of max users</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PREEXIT</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PREEXIT</td>
        <td>Caused by invalid usage</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_ONTRAP</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_ONTRAP</td>
        <td>Caused by a signal</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PREPROC</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PREPROC</td>
        <td>Error in the preprocessor</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_DBPARSE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_DBPARSE</td>
        <td>Error in the parser</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_DBRUNERR</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_DBRUNERR</td>
        <td>Run error in db</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_DBPREEXIT</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_DBPREEXIT</td>
        <td>Exit condition caused by <em>prexit()</em> * procedure</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_WAIT</code></strong>
          (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_WAIT</td>
        <td>Wait a little (Simple only)</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_CORRUPT_TUPLE</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_CORRUPT_TUPLE</td>
        <td>A client sent a corrupt tuple</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_WARNING0</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_WARNING0</td> 
        <td>
         The Simple routines encountered a non fatal error which was
         corrected
        </td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PANIC</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PANIC</td>
        <td>
         The server should not really die but after a disaster
         send ERR_PANIC to all its clients
        </td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_FIFO</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_FIFO</td>
        <td>Can&#039;t create a fifo</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_PERM</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_PERM</td>
        <td>Permission denied</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_TCL</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_TCL</td>
        <td>TCL_error</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_RESTRICTED</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_RESTRICTED</td>
        <td>Only two users</td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_USER</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td> 
        <td>ERR_USER</td>
        <td>
         An error in the use of the library by an application
         programmer
        </td>
       </tr>

       <tr>
        <td>
         <strong><code>DBPLUS_ERR_UNKNOWN</code></strong>
         (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
        </td>
        <td>ERR_UNKNOWN</td>
        <td class="empty">&nbsp;</td>
       </tr>

      </tbody>
     
    </table>

   </p>
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="dbplus.constants.html">Predefined Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.dbplus.html">DB++ Functions</a></div>
 <div class="up"><a href="dbplus.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>