~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:
970
970
    """A nested progress bar was not 'finished' correctly."""
971
971
 
972
972
 
 
973
class InvalidProgressBarType(BzrNewError):
 
974
    """Environment variable BZR_PROGRESS_BAR='%(bar_type)s is not a supported type
 
975
Select one of: %(valid_types)s"""
 
976
 
 
977
    def __init__(self, bar_type, valid_types):
 
978
        BzrNewError.__init__(self, bar_type=bar_type, valid_types=valid_types)
 
979
 
 
980
 
973
981
class UnsupportedOperation(BzrNewError):
974
982
    """The method %(mname)s is not supported on objects of type %(tname)s."""
975
983
    def __init__(self, method, method_self):