<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gearmanworker.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'gearmanworker.error.php',
    1 => 'GearmanWorker::error',
    2 => 'R&eacute;cup&egrave;re la derni&egrave;re erreur survenue',
  ),
  'up' => 
  array (
    0 => 'class.gearmanworker.php',
    1 => 'GearmanWorker',
  ),
  'prev' => 
  array (
    0 => 'gearmanworker.echo.php',
    1 => 'GearmanWorker::echo',
  ),
  'next' => 
  array (
    0 => 'gearmanworker.geterrno.php',
    1 => 'GearmanWorker::getErrno',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/gearman/gearmanworker/error.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gearmanworker.error" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanWorker::error</h1>
  <p class="verinfo">(PECL gearman &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanWorker::error</span> &mdash; <span class="dc-title"> Récupère la dernière erreur survenue</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gearmanworker.error-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GearmanWorker::error</strong></span>(): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="simpara">
   Retourne la dernière erreur survenue, sous la forme d&#039;une <a href="language.types.string.php" class="link">chaîne de caractères</a>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gearmanworker.error-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanworker.error-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Une <a href="language.types.string.php" class="link">chaîne de caractères</a> humainement lisible représentant la dernière erreur survenue,
   ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> s&#039;il n&#039;y a pas de message d&#039;erreur disponible.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-gearmanworker.error-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="gearmanworker.geterrno.php" class="methodname" rel="rdfs-seeAlso">GearmanWorker::getErrno()</a> - R&eacute;cup&egrave;re la errno</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>