~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-10-07 06:17:49 UTC
  • mfrom: (1185.13.2) (1417.1.8)
  • Revision ID: robertc@robertcollins.net-20051007061749-191de10c005c1db3
merge in readonly and passthrough transaction - make log suck less

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
            Exception.__init__(self)
95
95
 
96
96
 
 
97
class CommitNotPossible(LockError):
 
98
    """A commit was attempted but we do not have a write lock open."""
 
99
 
 
100
 
 
101
class AlreadyCommitted(LockError):
 
102
    """A rollback was requested, but is not able to be accomplished."""
 
103
 
 
104
 
 
105
class ReadOnlyError(LockError):
 
106
    """A write attempt was made in a read only transaction."""
 
107
 
 
108
 
97
109
class PointlessCommit(Exception):
98
110
    """Commit failed because nothing was changed."""
99
111