14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
17
"""A grouping of Exceptions for bzr-git"""
21
20
from dulwich import errors as git_errors
26
23
class BzrGitError(bzr_errors.BzrError):
27
24
"""The base-level exception for bzr-git errors."""
32
def __init__(self, command, returncode, stderr):
30
38
class NoSuchRef(BzrGitError):
33
41
_fmt = "The ref %(ref)s was not found."
40
50
def convert_dulwich_error(error):