def METHOD_NAME(msg, *args, **kwargs):
    # todo: implement timer
    class ExceptionHandlerContextManager:
        def __enter__(self):
            pass
        def __exit__(self, type, value, tb):
            import botocore
            if type is botocore.exceptions.ClientError:
                handle_boto_error(value, msg, *args, **kwargs)
    return ExceptionHandlerContextManager()