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