Skip to content

Commit

Permalink
Merge pull request #5 from Vardan2009/master
Browse files Browse the repository at this point in the history
Updated output in Error Handling page
  • Loading branch information
github-actions[bot] committed Jun 2, 2024
1 parent 330dad4 commit a2cb44b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions error-handling.html
Original file line number Diff line number Diff line change
Expand Up @@ -1016,11 +1016,11 @@ <h2 id="example">Example<a class="headerlink" href="#example" title="Permanent l
</span></code></pre></div></td></tr></table></div>
<p><strong>Output:</strong></p>
<div class="language-py highlight"><pre><span></span><code><span id="__span-7-1"><a id="__codelineno-7-1" name="__codelineno-7-1" href="#__codelineno-7-1"></a><span class="n">Radiation</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">):</span>
</span><span id="__span-7-2"><a id="__codelineno-7-2" name="__codelineno-7-2" href="#__codelineno-7-2"></a> <span class="n">File</span> <span class="o">&lt;</span><span class="n">stdin</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">10</span>
</span><span id="__span-7-3"><a id="__codelineno-7-3" name="__codelineno-7-3" href="#__codelineno-7-3"></a><span class="n">FunctionError</span><span class="p">:</span> <span class="n">Something</span> <span class="n">went</span> <span class="n">wrong</span> <span class="ow">in</span> <span class="n">risky_operation</span>
</span><span id="__span-7-2"><a id="__codelineno-7-2" name="__codelineno-7-2" href="#__codelineno-7-2"></a> <span class="n">File</span> <span class="o">&lt;</span><span class="n">stdin</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">line</span> <span class="mi">5</span>
</span><span id="__span-7-3"><a id="__codelineno-7-3" name="__codelineno-7-3" href="#__codelineno-7-3"></a><span class="n">FunctionError</span><span class="p">:</span> <span class="n">Something</span> <span class="n">went</span> <span class="n">wrong</span> <span class="ow">in</span> <span class="n">custom</span><span class="o">-</span><span class="n">error</span><span class="o">.</span><span class="n">rn</span>
</span><span id="__span-7-4"><a id="__codelineno-7-4" name="__codelineno-7-4" href="#__codelineno-7-4"></a>
</span><span id="__span-7-5"><a id="__codelineno-7-5" name="__codelineno-7-5" href="#__codelineno-7-5"></a> <span class="k">raise</span> <span class="n">FunctionError</span><span class="p">(</span><span class="s2">&quot;risky_operation&quot;</span><span class="p">)</span>
</span><span id="__span-7-6"><a id="__codelineno-7-6" name="__codelineno-7-6" href="#__codelineno-7-6"></a> <span class="o">^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span>
</span><span id="__span-7-5"><a id="__codelineno-7-5" name="__codelineno-7-5" href="#__codelineno-7-5"></a><span class="k">raise</span> <span class="n">CustomError</span><span class="p">(</span><span class="s2">&quot;custom-error.rn&quot;</span><span class="p">)</span>
</span><span id="__span-7-6"><a id="__codelineno-7-6" name="__codelineno-7-6" href="#__codelineno-7-6"></a><span class="o">^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span>
</span></code></pre></div>
<p>When the exception is raised, the program stops executing and the exception is
propagated up the call stack. The exception can be caught by a <code>try</code> block. If
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,102 +2,102 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://radon-project.github.io/index.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/arrays.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/built-in-functions.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/classes.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/contribution.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/control-flow.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/data-types.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/error-handling.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/file-handling.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/functions.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/input-output.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/installation.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/language-reference.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/loops.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/modules.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/quick-start.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/standard-library.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/strings.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/tools.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://radon-project.github.io/blog/hello-world.html</loc>
<lastmod>2024-06-01</lastmod>
<lastmod>2024-06-02</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit a2cb44b

Please sign in to comment.