/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Add validate method to ContainerReader and BytesRecordReader.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2170
2170
    def __init__(self, reason):
2171
2171
        self.reason = reason
2172
2172
 
 
2173
 
 
2174
class ContainerHasExcessDataError(ContainerError):
 
2175
 
 
2176
    _fmt = "Container has data after end marker: %(excess)r"
 
2177
 
 
2178
    def __init__(self, excess):
 
2179
        self.excess = excess
 
2180