You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my side, a 👍 for this change. It is generally a better practice to extend from RuntimeException. The Slim 4 ErrorMiddleware should not be affected.
Hello everyone, I have a question, why not make the HttpException class inherit from RuntimeException
https://github.com/slimphp/Slim/blob/4.x/Slim/Exception/HttpException.php#L20
This is how it is done in the symfony and in other frameworks
The fact is that phpstorm RuntimeException is added to the exceptions by default, more details here
https://blog.jetbrains.com/phpstorm/2018/04/configurable-unchecked-exceptions/
The text was updated successfully, but these errors were encountered: