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
The base exception interface used in the driver (MongoDB\Driver\Exception\Exception) does not extend the Throwable or Exception base interfaces. This can be problematic; in our case, Doctrine MongoDB ODM documented a @throws \MongoDB\Driver\Exception\Exception on a class, which is then caught by static analysis with PHPStan:
PHPDoc tag @throws with type MongoDB\Driver\Exception\Exception is not subtype of Throwable