~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jonathan Lange
  • Date: 2007-04-22 23:00:56 UTC
  • mfrom: (2440 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2446.
  • Revision ID: jml@canonical.com-20070422230056-mfu7bo3ydrbbag7p
Merge bzr.dev, resolving conflicts in error code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1237
1237
 
1238
1238
    _fmt = ("The medium '%(medium)s' has reached its concurrent request limit."
1239
1239
            " Be sure to finish_writing and finish_reading on the"
1240
 
            " current request that is open.")
 
1240
            " currently open request.")
1241
1241
 
1242
1242
    internal_error = True
1243
1243
 
2086
2086
    def __init__(self, abbreviation, branch):
2087
2087
        self.abbreviation = abbreviation
2088
2088
        self.branch = branch
 
2089
 
 
2090
 
 
2091
class UnexpectedSmartServerResponse(BzrError):
 
2092
 
 
2093
    _fmt = "Could not understand response from smart server: %(response_tuple)r"
 
2094
 
 
2095
    def __init__(self, response_tuple):
 
2096
        self.response_tuple = response_tuple