diff options
| -rw-r--r-- | files/fr/plugins/guide/constants/index.md | 101 | 
1 files changed, 19 insertions, 82 deletions
diff --git a/files/fr/plugins/guide/constants/index.md b/files/fr/plugins/guide/constants/index.md index a91db39d86..eb09a8a4e5 100644 --- a/files/fr/plugins/guide/constants/index.md +++ b/files/fr/plugins/guide/constants/index.md @@ -9,86 +9,23 @@ translation_of: Plugins/Guide/Constants  translation_of_original: NPAPI/Constants  original_slug: NPAPI/Constantes  --- -<p>Cette section est une référence au définitions utilisées par l'API Plug-in. Toutes les définitions proviennent de npapi.h.</p> -<h3>Codes Erreur</h3> +Cette section est une référence au définitions utilisées par l'API Plug-in. Toutes les définitions proviennent de npapi.h. -<table class="standard-table"> -  <tbody> -    <tr> -      <th>Code</th> -      <th>Valeur</th> -      <th>Description</th> -    </tr> -    <tr> -      <td><strong>NPERR_NO_ERROR </strong></td> -      <td>0</td> -      <td>Aucune erreur n'est survenue</td> -    </tr> -    <tr> -      <td><strong>NPERR_GENERIC_ERROR </strong></td> -      <td>1</td> -      <td>Une erreur sans code attribué est survenue</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_INSTANCE_ERROR </strong></td> -      <td>2</td> -      <td>L'instance transmise au plugin est invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_FUNCTABLE_ERROR </strong></td> -      <td>3</td> -      <td>Table de fonctions invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_MODULE_LOAD_FAILED_ERROR</strong></td> -      <td>4</td> -      <td>Le chargement du plugin a échoué</td> -    </tr> -    <tr> -      <td><strong>NPERR_OUT_OF_MEMORY_ERROR</strong></td> -      <td>5</td> -      <td>L'allocation de mémoire a échoué</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_PLUGIN_ERROR </strong></td> -      <td>6</td> -      <td>Plugin manquant ou invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_PLUGIN_DIR_ERROR</strong></td> -      <td>7</td> -      <td>Répertoire du plugin manquant ou invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_INCOMPATIBLE_VERSION_ERROR</strong></td> -      <td>8</td> -      <td>les versions du plugin et de  Communicator ne correspondent pas</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_PARAM </strong></td> -      <td>9</td> -      <td>Paramètre manquant ou invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_INVALID_URL</strong></td> -      <td>10</td> -      <td>URL manquante ou invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_FILE_NOT_FOUND</strong></td> -      <td>11</td> -      <td>Fichier manquant ou invalide</td> -    </tr> -    <tr> -      <td><strong>NPERR_NO_DATA</strong></td> -      <td>12</td> -      <td>Le flux ne contient pas de données</td> -    </tr> -    <tr> -      <td><strong>NPERR_STREAM_NOT_SEEKABLE </strong></td> -      <td>13</td> -      <td>Flux trouvable attendu. (trad à vérifier : Seekable stream expected)</td> -    </tr> -  </tbody> -</table> -<p> </p> +### Codes Erreur + +| Code                                 | Valeur | Description                                                          | +| ------------------------------------ | ------ | -------------------------------------------------------------------- | +| **NPERR_NO_ERROR**                   | 0      | Aucune erreur n'est survenue                                         | +| **NPERR_GENERIC_ERROR**              | 1      | Une erreur sans code attribué est survenue                           | +| **NPERR_INVALID_INSTANCE_ERROR**     | 2      | L'instance transmise au plugin est invalide                          | +| **NPERR_INVALID_FUNCTABLE_ERROR**    | 3      | Table de fonctions invalide                                          | +| **NPERR_MODULE_LOAD_FAILED_ERROR**   | 4      | Le chargement du plugin a échoué                                     | +| **NPERR_OUT_OF_MEMORY_ERROR**        | 5      | L'allocation de mémoire a échoué                                     | +| **NPERR_INVALID_PLUGIN_ERROR**       | 6      | Plugin manquant ou invalide                                          | +| **NPERR_INVALID_PLUGIN_DIR_ERROR**   | 7      | Répertoire du plugin manquant ou invalide                            | +| **NPERR_INCOMPATIBLE_VERSION_ERROR** | 8      | les versions du plugin et de  Communicator ne correspondent pas      | +| **NPERR_INVALID_PARAM**              | 9      | Paramètre manquant ou invalide                                       | +| **NPERR_INVALID_URL**                | 10     | URL manquante ou invalide                                            | +| **NPERR_FILE_NOT_FOUND**             | 11     | Fichier manquant ou invalide                                         | +| **NPERR_NO_DATA**                    | 12     | Le flux ne contient pas de données                                   | +| **NPERR_STREAM_NOT_SEEKABLE**        | 13     | Flux trouvable attendu. (trad à vérifier : Seekable stream expected) |  | 
