~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Ian Clatworthy
  • Date: 2009-02-11 00:29:57 UTC
  • mfrom: (3990.2.7 shelf)
  • mto: This revision was merged to the branch mainline in revision 4000.
  • Revision ID: ian.clatworthy@canonical.com-20090211002957-m3f364g9ovnwqm6h
Improve shelf documentation & fix backtrace (Daniel Watkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2934
2934
        BzrError.__init__(self, shelf_id=shelf_id)
2935
2935
 
2936
2936
 
 
2937
class InvalidShelfId(BzrError):
 
2938
 
 
2939
    _fmt = '"%(invalid_id)s" is not a valid shelf id, try a number instead.'
 
2940
 
 
2941
    def __init__(self, invalid_id):
 
2942
        BzrError.__init__(self, invalid_id=invalid_id)
 
2943
 
 
2944
 
2937
2945
class UserAbort(BzrError):
2938
2946
 
2939
2947
    _fmt = 'The user aborted the operation.'