Lines Matching full:error_class
126 def gitcmd(self, cmd, ignore_status=False, error_class=None,
133 underlying command runner. NB: Passing in an error_class
135 @param error_class: When ignore_status is False, optional error
138 @param error_msg: When passed with error_class, used as a friendly
144 ignore_status = ignore_status or error_class is not None
147 if rv.exit_status != 0 and error_class is not None:
151 raise error_class(error_msg if error_msg is not None
224 error_class=GitResetError,
275 error_class=GitError,
279 error_class=GitError,
290 error_class=GitError,
293 error_class=GitError,
296 error_class=GitError,