this is unexpected behavior and it should be changed to only change the specific interfaces (psycopg2, sqlite) to InterfaceError and leave everything else untouched
try:
with interface.transaction():
raise StopIteration() # this will be converted to an InterfaceError
except StopIteration:
pass # this will never be triggered
this is unexpected behavior and it should be changed to only change the specific interfaces (psycopg2, sqlite) to InterfaceError and leave everything else untouched