ap--/python-seabreeze

SeaBreezeError: allow isinstance tests between backends

ap-- opened this issue · 0 comments

ap-- commented

If someone imports SeabreezeError from a specific backend and (accidentally) uses the other backend, catching exceptions fails because the backends provide two different classes.

Let's do some metaclass magic to allow isinstance tests between backends.

See #100