@staticmethod
def exc_value(exc_type, exc_value, exc_tb):
    """
        Returns the first argument of the exception instance. In the case of
        :exc:`SystemExit` this is the expected return code of the script.
        """
    return exc_value.args[0]
