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 current assertion macros can only assert on either exception type or exception message. However, in my use case, I need to assert that it has a specific exception code.
Can we have
Either an assertion macro that returns the captured exception
Or an assertion macro accepting a lambda as a predicate to further distinguish an expected exception from an unexpected one
The text was updated successfully, but these errors were encountered:
Description
The current assertion macros can only assert on either exception type or exception message. However, in my use case, I need to assert that it has a specific exception code.
Can we have
The text was updated successfully, but these errors were encountered: