diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-08-03 08:03:09 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-03 08:08:25 +0200 |
| commit | 844f5103992238c0c23203286dad16a466e89c97 (patch) | |
| tree | d537708951bb2b61be8192ffacc05a0ce6804f89 /files/fr/web/javascript/reference/global_objects/internalerror/index.html | |
| parent | a70fd5b73ecb10bec3906640023e2a1a46e118a2 (diff) | |
| download | translated-content-844f5103992238c0c23203286dad16a466e89c97.tar.gz translated-content-844f5103992238c0c23203286dad16a466e89c97.tar.bz2 translated-content-844f5103992238c0c23203286dad16a466e89c97.zip | |
move *.html to *.md
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/internalerror/index.html')
| -rw-r--r-- | files/fr/web/javascript/reference/global_objects/internalerror/index.html | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/internalerror/index.html b/files/fr/web/javascript/reference/global_objects/internalerror/index.html deleted file mode 100644 index 02a1e3afdd..0000000000 --- a/files/fr/web/javascript/reference/global_objects/internalerror/index.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: InternalError -slug: Web/JavaScript/Reference/Global_Objects/InternalError -tags: - - Error - - InternalError - - JavaScript - - Reference -translation_of: Web/JavaScript/Reference/Global_Objects/InternalError -original_slug: Web/JavaScript/Reference/Objets_globaux/InternalError ---- -<div>{{JSRef}} {{non-standard_header}}</div> - -<p>L'objet <strong><code>InternalError</code></strong> indique qu'une erreur liée au moteur JavaScript s'est produite. Par exemple <strong>"InternalError </strong>: Niveau de récursion trop important".</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox">new InternalError([<var>message</var>[, <var>fileName</var>[, <var>lineNumber</var>]]])</pre> - -<h3 id="Paramètres">Paramètres</h3> - -<dl> - <dt><code>message</code></dt> - <dd>Paramètre optionnel. Une description de l'erreur compréhensible pour un être humain.</dd> - <dt><code>fileName</code> {{Non-standard_inline}}</dt> - <dd>Paramètre optionnel. Le nom du fichier contenant le code à l'origine de l'erreur.</dd> - <dt><code>lineNumber</code> {{Non-standard_inline}}</dt> - <dd>Paramètre optionnel. Le numéro de la ligne du code à l'origine de l'erreur.</dd> -</dl> - -<h2 id="Description">Description</h2> - -<p>Une exception <code>InternalError</code> est levée à chaque fois qu'il se produit une erreur interne au moteur JavaScript.</p> - -<p>Le plus souvent, cette exception se produit lorsque quelque chose atteint un niveau trop élévé. Par exemple :</p> - -<ul> - <li>trop de cas dans une construction switch,</li> - <li>trop de parenthèses au sein d'une expression rationnelle,</li> - <li>un tableau littéral trop grand,</li> - <li>trop de niveaux de récursion.</li> -</ul> - -<h2 id="Propriétés">Propriétés</h2> - -<dl> - <dt>{{jsxref("InternalError.prototype")}}</dt> - <dd>Permet l'ajout de nouvelles propriétés à un objet <code>InternalError</code>.</dd> -</dl> - -<h2 id="Méthodes">Méthodes</h2> - -<p>L'objet global <code>InternalError</code> ne contient pas de méthode propre. En revanche, il hérite de certaines méthodes via sa chaîne de prototypes.</p> - -<h2 id="Instances_de_InternalError">Instances de <code>InternalError</code></h2> - -<h3 id="Propriétés_2">Propriétés</h3> - -<div>{{page("/fr/docs/JavaScript/Reference/Objets_globaux/InternalError/prototype","Properties")}}</div> - -<h3 id="Méthodes_2">Méthodes</h3> - -<div>{{page("/fr/docs/JavaScript/Reference/Objets_globaux/InternalError/prototype","Methods")}}</div> - -<h2 id="Spécifications">Spécifications</h2> - -<p>Cet objet ne fait partie d'aucune spécification.</p> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("javascript.builtins.InternalError")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li>{{jsxref("Error")}}</li> - <li>{{jsxref("InternalError.prototype")}}</li> -</ul> |
