Commit 07808f8a by Vladimir

Update error.md

typo fix
parent bd70ac84
...@@ -20,7 +20,7 @@ return [ ...@@ -20,7 +20,7 @@ return [
], ],
``` ```
With that configuration in place, whenever an error occurs, Yii will execute the "error" acction of the "Site" controller. That action should look for an exception and, if present, render the proper view file, passing along the exception: With that configuration in place, whenever an error occurs, Yii will execute the "error" action of the "Site" controller. That action should look for an exception and, if present, render the proper view file, passing along the exception:
```php ```php
public function actionError() public function actionError()
...@@ -65,4 +65,4 @@ After associating the class with the error as in the above, define the `views/si ...@@ -65,4 +65,4 @@ After associating the class with the error as in the above, define the `views/si
- `$message`: the error message - `$message`: the error message
- `$exception`: the exception being handled - `$exception`: the exception being handled
The `$exception` object will have the same properties outlined above. The `$exception` object will have the same properties outlined above.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment