/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

  • Committer: John Arbash Meinel
  • Date: 2007-12-04 18:11:51 UTC
  • mfrom: (3074 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3075.
  • Revision ID: john@arbash-meinel.com-20071204181151-br85qwsgshso16q5
[merge] bzr.dev 3074

Show diffs side-by-side

added added

removed removed

Lines of Context:
1332
1332
 
1333
1333
 
1334
1334
class KnitDataStreamIncompatible(KnitError):
 
1335
    # Not raised anymore, as we can convert data streams.  In future we may
 
1336
    # need it again for more exotic cases, so we're keeping it around for now.
1335
1337
 
1336
1338
    _fmt = "Cannot insert knit data stream of format \"%(stream_format)s\" into knit of format \"%(target_format)s\"."
1337
1339
 
1340
1342
        self.target_format = target_format
1341
1343
        
1342
1344
 
 
1345
class KnitDataStreamUnknown(KnitError):
 
1346
    # Indicates a data stream we don't know how to handle.
 
1347
 
 
1348
    _fmt = "Cannot parse knit data stream of format \"%(stream_format)s\"."
 
1349
 
 
1350
    def __init__(self, stream_format):
 
1351
        self.stream_format = stream_format
 
1352
        
 
1353
 
1343
1354
class KnitHeaderError(KnitError):
1344
1355
 
1345
1356
    _fmt = 'Knit header error: %(badline)r unexpected for file "%(filename)s".'
1846
1857
        self.format = format
1847
1858
 
1848
1859
 
 
1860
class NoDiffFound(BzrError):
 
1861
 
 
1862
    _fmt = 'Could not find an appropriate Differ for file "%(path)s"'
 
1863
 
 
1864
    def __init__(self, path):
 
1865
        BzrError.__init__(self, path)
 
1866
 
 
1867
 
1849
1868
class NoDiff(BzrError):
1850
1869
 
1851
1870
    _fmt = "Diff is not installed on this machine: %(msg)s"
2383
2402
    _fmt = "No message supplied."
2384
2403
 
2385
2404
 
 
2405
class NoMailAddressSpecified(BzrError):
 
2406
 
 
2407
    _fmt = "No mail-to address specified."
 
2408
 
 
2409
 
2386
2410
class UnknownMailClient(BzrError):
2387
2411
 
2388
2412
    _fmt = "Unknown mail client: %(mail_client)s"
2439
2463
    _fmt = "'%(display_url)s' is already a checkout."
2440
2464
 
2441
2465
 
 
2466
class AlreadyLightweightCheckout(BzrDirError):
 
2467
 
 
2468
    _fmt = "'%(display_url)s' is already a lightweight checkout."
 
2469
 
 
2470
 
2442
2471
class ReconfigurationNotSupported(BzrDirError):
2443
2472
 
2444
2473
    _fmt = "Requested reconfiguration of '%(display_url)s' is not supported."