~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-04 17:02:18 UTC
  • mto: (0.17.34 trunk)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090304170218-c3thty7hh2yfrnye
First cut at meta-info as text form.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""Error objects for compression functions."""
19
19
 
20
20
from bzrlib.errors import BzrError
 
21
 
 
22
 
 
23
class InvalidGroupCompressBlock(BzrError):
 
24
    """Raised when a block has problems."""
 
25
 
 
26
    _fmt = "Invalid Group Compress Block: %(msg)s"
 
27
 
 
28
    def __init__(self, msg):
 
29
        self.msg = msg