M
M
Messi2018-02-21 13:15:07
Yii
Messi, 2018-02-21 13:15:07

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

1 answer(s)
D
Dmitry Kim, 2018-02-21
@FitTech

Are you talking about $exception->getCode()?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question