[0] HttpException in helper.php line 527

        1. * @param integer|Response $code 狀態碼 或者 Response對象實例
        2. * @param string $message 錯誤信息
        3. * @param array $header 參數
        4. */
        5. function abort($code, $message = null, $header = [])
        6. {
        7. if ($code instanceof Response) {
        8. throw new HttpResponseException($code);
        9. } else {
        10. throw new HttpException($code, $message, null, $header);
        11. }
        12. }
        13. }
        14. if (!function_exists('halt')) {
        15. /**
        16. * 調試變量並且中斷輸出
        17. * @param mixed $var 調試變量或者信息
        18. */