~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge Aarons integration branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
... except:
35
35
...   print sys.exc_type
36
36
...   print sys.exc_value
37
 
...   print sys.exc_value.path
 
37
...   if hasattr(sys.exc_value, 'path'):
 
38
...     print sys.exc_value.path
38
39
bzrlib.errors.NotBranchError
39
40
Not a branch: /foo/bar
40
41
/foo/bar
370
371
    """Parents are mismatched between two revisions."""
371
372
    
372
373
 
 
374
class WeaveInvalidChecksum(WeaveError):
 
375
    """Text did not match it's checksum: %(message)s"""
 
376
 
 
377
 
373
378
class NoSuchExportFormat(BzrNewError):
374
379
    """Export format %(format)r not supported"""
375
380
    def __init__(self, format):