/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

[merge] jam-integration 1512, includes Storage changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
    This should never escape bzr, so does not need to be printable.
468
468
    """
469
469
 
 
470
 
470
471
class MissingText(BzrNewError):
471
472
    """Branch %(base)s is missing revision %(text_revision)s of %(file_id)s"""
472
473
 
479
480
 
480
481
 
481
482
class BzrBadParameter(BzrNewError):
482
 
    """Parameter %(param)s is neither unicode nor utf8."""
 
483
    """A bad parameter : %(param)s is not usable.
483
484
    
 
485
    This exception should never be thrown, but it is a base class for all
 
486
    parameter-to-function errors.
 
487
    """
484
488
    def __init__(self, param):
485
489
        BzrNewError.__init__(self)
486
490
        self.param = param
 
491
 
 
492
 
 
493
class BzrBadParameterNotUnicode(BzrBadParameter):
 
494
    """Parameter %(param)s is neither unicode nor utf8."""
 
495
    
 
496
 
 
497
class BzrBadParameterNotString(BzrBadParameter):
 
498
    """Parameter %(param)s is not a string or unicode string."""