def prepend(exception, message, end='<STR_LIT>'):
exception.args = exception.args or ('<STR_LIT>',)<EOL>exception.args = (message + end + exception.args[<NUM_LIT:0>], ) + exception.args[<NUM_LIT:1>:]<EOL>return exception<EOL>
Prepends the first argument (i.e., the exception message) of the a BaseException with the provided message.
    Useful for reraising exceptions with additional information.

    :param BaseException exception: the exception to prepend
    :param str message: the message to prepend
    :param str end: the separator to add to the end of the provided message
    :returns: the exception