<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 手動拋出異常 可以使用`\think\Exception`類來拋出異常 ~~~ // 使用think自帶異常類拋出異常 throw new \think\Exception('異常消息', 100006); ~~~ 如果不使用think異常類,也可以定義自己的異常類來拋出異常 ~~~ throw new \foobar\Exception('異常消息'); ~~~ 也可以使用系統提供的助手函數來簡化處理: ~~~ exception('異常消息', 100006); // 使用自定義異常類 exception('異常消息', 100006, \foobar\Exceeption); ~~~ ## 拋出 HTTP 異常 可以使用`\think\exception\HttpException`類來拋出異常 ~~~ // 拋出 HTTP 異常 throw new \think\exception\HttpException(404, '異常消息', null, [參數]); ~~~ 系統提供了助手函數`abort`簡化HTTP異常的處理,例如: ~~~ abort(404, '異常消息', [參數]) ~~~ HTTP異常可以單獨定義異常模板,請參考后面的404頁面。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看