binlock.exceptions

Bespoke Exception classes for pybinlock

Exceptions

BinLockChangedError

A bin lock was changed or removed unexpectedly

BinLockExistsError

A lock file already exists for this bin, perhaps from another machine

BinLockFileDecodeError

File could not be decoded; likely not a valid lock file

BinLockNameError

The given lock name is not valid for use

BinLockNotFoundError

An expected bin lock is not found

BinLockOwnershipError

The existing bin lock belongs to another entity (lock names do not match)

BinNotFoundError

An expected bin does not exist

exception binlock.exceptions.BinLockNameError

Bases: ValueError

The given lock name is not valid for use

exception binlock.exceptions.BinLockFileDecodeError

Bases: ValueError

File could not be decoded; likely not a valid lock file

exception binlock.exceptions.BinLockExistsError

Bases: FileExistsError

A lock file already exists for this bin, perhaps from another machine

exception binlock.exceptions.BinLockNotFoundError

Bases: FileNotFoundError

An expected bin lock is not found

exception binlock.exceptions.BinLockOwnershipError

Bases: PermissionError

The existing bin lock belongs to another entity (lock names do not match)

exception binlock.exceptions.BinLockChangedError

Bases: RuntimeError

A bin lock was changed or removed unexpectedly

exception binlock.exceptions.BinNotFoundError

Bases: FileNotFoundError

An expected bin does not exist