~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge bzr.dev

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
 
2067
2067
 
2068
2068
    def __init__(self, tag_name):
2069
2069
        self.tag_name = tag_name
 
2070
 
 
2071
 
 
2072
class UnexpectedSmartServerResponse(BzrError):
 
2073
 
 
2074
    _fmt = "Could not understand response from smart server: %(response_tuple)r"
 
2075
 
 
2076
    def __init__(self, response_tuple):
 
2077
        self.response_tuple = response_tuple
 
2078