In the MVC model the withdrawal of its error pages need to be carried out through special ErrorController?

Let's say I catch an access denied error (403), respectively, I need to run ErrorController->error403Action() ???
June 8th 19 at 16:59
2 answers
June 8th 19 at 17:01
here you can read

and here too
June 8th 19 at 17:03
403 is not an error in the code is a restriction in access rights.
As an option - you can simply redirect to another page - for example to the login page...
You need only a view, not the controller.
The wiki suggest another option:
800px-%D0%91%D1%80%D0%B0%D1%83%D0%B7%D0%

Find more questions by tags PHPWeb Development