~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2005-11-04 17:26:05 UTC
  • mfrom: (1185.16.146)
  • mto: (1185.33.1)
  • mto: This revision was merged to the branch mainline in revision 1509.
  • Revision ID: jelmer@samba.org-20051104172605-9288f261492667fd
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        self.branch = branch
128
128
 
129
129
 
 
130
class NoWorkingTree(BzrNewError):
 
131
    """No WorkingTree exists for %s(base)."""
 
132
    
 
133
    def __init__(self, base):
 
134
        BzrNewError.__init__(self)
 
135
        self.base = base
 
136
        
 
137
 
130
138
class BzrCommandError(BzrError):
131
139
    # Error from malformed user command
132
140
    # This is being misused as a generic exception