~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-06-22 08:12:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050622081231-630e514240ccb87a
- new exception NotVersionedError
- raise this from Inventory.add_path if parent isnt versioned

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    pass
40
40
 
41
41
 
 
42
class NotVersionedError(BzrError):
 
43
    """Specified object is not versioned."""
 
44
 
 
45
 
42
46
class BadFileKindError(BzrError):
43
47
    """Specified file is of a kind that cannot be added.
44
48