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
When running Static-Analysis like Psalm, they will report an invalid catch statement:
InvalidCatch: Class/interface Psr\Container\NotFoundExceptionInterface cannot be caught
This happens because the Interfaces do not extend Throwable. This is correct since classes that do not implement Throwable cannot be used with throw: https://3v4l.org/NNDeW
The text was updated successfully, but these errors were encountered:
When running Static-Analysis like Psalm, they will report an invalid catch statement:
This happens because the Interfaces do not extend
Throwable
. This is correct since classes that do not implementThrowable
cannot be used withthrow
: https://3v4l.org/NNDeWThe text was updated successfully, but these errors were encountered: