@contextlib.contextmanager<EOL>def add(*args):
try:<EOL><INDENT>yield<EOL><DEDENT>except Exception as e:<EOL><INDENT>e.args = args + e.args<EOL>raise<EOL><DEDENT>
A context manager that appends arguments to any exception thrown

:param args: Arguments to be appended to the ``.args`` attribute of any
             exception that is thrown while the context manager is active