binlock.exceptions
Bespoke Exception classes for pybinlock
Exceptions
A bin lock was changed or removed unexpectedly |
|
A lock file already exists for this bin, perhaps from another machine |
|
File could not be decoded; likely not a valid lock file |
|
The given lock name is not valid for use |
|
An expected bin lock is not found |
|
The existing bin lock belongs to another entity (lock names do not match) |
|
An expected bin does not exist |
- exception binlock.exceptions.BinLockNameError
Bases:
ValueErrorThe given lock name is not valid for use
- exception binlock.exceptions.BinLockFileDecodeError
Bases:
ValueErrorFile could not be decoded; likely not a valid lock file
- exception binlock.exceptions.BinLockExistsError
Bases:
FileExistsErrorA lock file already exists for this bin, perhaps from another machine
- exception binlock.exceptions.BinLockNotFoundError
Bases:
FileNotFoundErrorAn expected bin lock is not found
- exception binlock.exceptions.BinLockOwnershipError
Bases:
PermissionErrorThe existing bin lock belongs to another entity (lock names do not match)
- exception binlock.exceptions.BinLockChangedError
Bases:
RuntimeErrorA bin lock was changed or removed unexpectedly
- exception binlock.exceptions.BinNotFoundError
Bases:
FileNotFoundErrorAn expected bin does not exist