Added a separate wrappers.py file with classes and functions for
different ways of handling exceptions