arc:throw 關鍵字用於從指令碼中擲回錯誤(例外)。
參數
- code:用於標識例外來源或含義的字串值。此參數是必需的。
- desc[ription]:可選參數,用於指定描述錯誤條件的簡短訊息。
- details:可選參數,包含診斷錯誤時可能有用的附加資訊。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用 arc:throw 從指令碼中擲回錯誤(例外),並提供標識程式碼以及可選的描述和詳細資訊。
arc:throw 關鍵字用於從指令碼中擲回錯誤(例外)。
<arc:throw code="myerror" desc="thedescription" />