/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-13 01:57:42 UTC
  • mfrom: (2003 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2004.
  • Revision ID: john@arbash-meinel.com-20060913015742-26daf2a7676b904e
[merge] bzr.dev 2003

Show diffs side-by-side

added added

removed removed

Lines of Context:
990
990
        self.format = format
991
991
 
992
992
 
 
993
class BadConversionTarget(BzrNewError):
 
994
    """Cannot convert to format %(format)s.  %(problem)s"""
 
995
 
 
996
    def __init__(self, problem, format):
 
997
        BzrNewError.__init__(self)
 
998
        self.problem = problem
 
999
        self.format = format
 
1000
 
 
1001
 
993
1002
class NoDiff(BzrNewError):
994
1003
    """Diff is not installed on this machine: %(msg)s"""
995
1004
 
1148
1157
        BzrNewError.__init__(self)
1149
1158
 
1150
1159
 
 
1160
class BadInventoryFormat(BzrNewError):
 
1161
    """Root class for inventory serialization errors"""
 
1162
 
 
1163
 
 
1164
class UnexpectedInventoryFormat(BadInventoryFormat):
 
1165
    """The inventory was not in the expected format:\n %(msg)s"""
 
1166
 
 
1167
    def __init__(self, msg):
 
1168
        BadInventoryFormat.__init__(self, msg=msg)
 
1169
 
 
1170
 
1151
1171
class UnknownSSH(BzrNewError):
1152
1172
    """Unrecognised value for BZR_SSH environment variable: %(vendor)s"""
1153
1173