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
I want to check if the exception is of some instance and check that they have correct attrs. We can just do duck typing, but sometimes, we want to have a stricter check.
The following is a snippet that I was playing with in my mind:
Example use case:
The following is a snippet that I was playing with in my mind:
I also see that this API is going to complicate implementation, so we can brainstorm other ideas too to have composite matchers.
The text was updated successfully, but these errors were encountered: