Categories
How to remove the title of the error?
In Yii2, when you get to an error page, for example, 404, there is the text Not Found (#404). Tell me, please, how to leave only a number, without text, for any errors?
Answer the question
In order to leave comments, you need to log in
Are you talking about $exception->getCode()?
$exception->getCode()
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question