Files
Basalt2/docs/.vitepress/dist/assets/references_errorManager.md.BR8--Q-6.js
2025-09-16 17:41:40 +02:00

2 lines
2.2 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,a,b as t,ag as s}from"./chunks/framework.BcrMLAmg.js";const u=JSON.parse('{"title":"ErrorHandler","description":"","frontmatter":{},"headers":[],"relativePath":"references/errorManager.md","filePath":"references/errorManager.md","lastUpdated":1757795332000}'),o={name:"references/errorManager.md"};function n(i,r,l,d,h,c){return t(),a("div",null,r[0]||(r[0]=[s('<h1 id="errorhandler" tabindex="-1">ErrorHandler <a class="header-anchor" href="#errorhandler" aria-label="Permalink to &quot;ErrorHandler&quot;"></a></h1><p><em>This is Basalt&#39;s error handler. All the errors are handled by this module.</em></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to &quot;Functions&quot;"></a></h2><table tabindex="0"><thead><tr><th>Method</th><th>Returns</th><th>Description</th></tr></thead><tbody><tr><td><a href="#errorhandler-error-errmsg">ErrorHandler.error</a></td><td>-</td><td>Handles an error</td></tr></tbody></table><h2 id="errorhandler-error-errmsg" tabindex="-1">ErrorHandler.error(errMsg) <a class="header-anchor" href="#errorhandler-error-errmsg" aria-label="Permalink to &quot;ErrorHandler.error(errMsg)&quot;"></a></h2><p>Handles an error</p><h3 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h3><ul><li><code>errMsg</code> <code>string</code> The error message</li></ul><h3 id="usage" tabindex="-1">Usage <a class="header-anchor" href="#usage" aria-label="Permalink to &quot;Usage&quot;"></a></h3><div class="language-lua vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">lua</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">errorHandler.</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">error</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;An error occurred&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div>',10)]))}const g=e(o,[["render",n]]);export{u as __pageData,g as default};