~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Andrew Bennetts
  • Date: 2006-09-15 06:30:39 UTC
  • mto: (1752.2.84 remote bzrdir)
  • mto: This revision was merged to the branch mainline in revision 2015.
  • Revision ID: andrew.bennetts@canonical.com-20060915063039-a0488e9077438ecb
Address various review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
791
791
        BzrNewError.__init__(self)
792
792
 
793
793
 
 
794
class SmartProtocolError(errors.TransportError):
 
795
    """Generic bzr smart protocol error: %(details)s"""
 
796
 
 
797
    def __init__(self, details):
 
798
        self.details = details
 
799
 
 
800
 
794
801
# A set of semi-meaningful errors which can be thrown
795
802
class TransportNotPossible(TransportError):
796
803
    """Transport operation not possible: %(msg)s %(orig_error)%"""