def __init__(self, args, exit_code, expected_rc=None, cmd_err=None):
        # XXX: might be nicer to join args together.
        # We should ideally perform some quoting, then, however
        msg = 'exited with exit code %s' % (exit_code,)
        CmdFailedError.__init__(self, args, msg, cmd_err)
        self.exitCode = exit_code
        self.expectedExitCode = expected_rc
dataset/ETHPy150Open facebookarchive/git-review/src/gitreview/proc.py/CmdExitCodeError.__init__/original