mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-01 15:07:49 +08:00
fix structure-actions.md link
This commit is contained in:
@@ -6,7 +6,7 @@ Yii は、エラー処理を従来よりはるかに快適な経験にしてく
|
||||
|
||||
* 致命的でない全ての PHP エラー (警告や通知) は捕捉可能な例外に変換されます。
|
||||
* 例外と致命的な PHP エラーは、デバッグモードでは、詳細なコールスタック情報とソースコード行とともに表示されます。
|
||||
* エラーを表示するために専用の [コントローラアクション](structure-actions.md) を使うことがサポートされています。
|
||||
* エラーを表示するために専用の [コントローラアクション](structure-controllers.md#actions) を使うことがサポートされています。
|
||||
* さまざまなエラーレスポンス形式をサポートしています。
|
||||
|
||||
[[yii\web\ErrorHandler|エラーハンドラ]] は既定で有効になっています。アプリケーションの [エントリスクリプト](structure-entry-scripts.md)
|
||||
|
||||
@@ -6,7 +6,7 @@ Yii错误处理器做以下工作来提升错误处理效果:
|
||||
|
||||
* 所有非致命PHP错误(如,警告,提示)会转换成可获取异常;
|
||||
* 异常和致命的PHP错误会被显示,在调试模式会显示详细的函数调用栈和源代码行数。
|
||||
* 支持使用专用的 [控制器操作](structure-actions.md) 来显示错误;
|
||||
* 支持使用专用的 [控制器操作](structure-controllers.md#actions) 来显示错误;
|
||||
* 支持不同的错误响应格式;
|
||||
|
||||
[[yii\web\ErrorHandler|error handler]] 错误处理器默认启用,
|
||||
|
||||
@@ -7,7 +7,7 @@ experience than before. In particular, the Yii error handler does the followings
|
||||
* All non-fatal PHP errors (e.g. warnings, notices) are converted into catchable exceptions.
|
||||
* Exceptions and fatal PHP errors are displayed with detailed call stack information and source code lines
|
||||
in debug mode.
|
||||
* Supports using a dedicated [controller action](structure-actions.md) to display errors.
|
||||
* Supports using a dedicated [controller action](structure-controllers.md#actions) to display errors.
|
||||
* Supports different error response formats.
|
||||
|
||||
The [[yii\web\ErrorHandler|error handler]] is enabled by default. You may disable it by defining the constant
|
||||
|
||||
Reference in New Issue
Block a user