Defines how this API should handle the provided exceptions

def exception(self, *args, **kwargs):
        """Defines how this API should handle the provided exceptions"""
        kwargs['api'] = self.api
        return exception(*args, **kwargs)