~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] improved 'missing' command from aaron

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
    # Error from malformed user command
143
143
    # This is being misused as a generic exception
144
144
    # pleae subclass. RBC 20051030
 
145
    #
 
146
    # I think it's a waste of effort to differentiate between errors that
 
147
    # are not intended to be caught anyway.  UI code need not subclass
 
148
    # BzrCommandError, and non-UI code should not throw a subclass of
 
149
    # BzrCommandError.  ADHB 20051211
145
150
    def __str__(self):
146
151
        return self.args[0]
147
152