Which Yii 3 package has all the http exceptions?

Can only find Yii 2 exception when searching online. I’d like to do

throw new HttpException(404)

or similar

I do not remember why but it seems you have to write your own exception classes.
See Yii3 packages. All implement their own. Even demo app.

https://github.com/search?q=org%3Ayiisoft+NotFound+language%3APHP&type=code&l=PHP

1 Like

Indeed, thank you.

1 Like