Warning

You are reading the documentation for a development version. The latest release is v0.0.15.

Source code for dreadlocks.errors

[docs] class AcquiringLockWouldBlockError(Exception): """Raised when acquiring lock would block and blocking is False"""
[docs] class AcquiringProcessLevelLockWouldBlockError(AcquiringLockWouldBlockError): """Raised when acquiring a process-level lock would block and blocking is False"""
[docs] class AcquiringThreadLevelLockWouldBlockError(AcquiringLockWouldBlockError): """Raised when acquiring a thread-level lock would block and blocking is False"""
[docs] class RecursiveDeadlockError(Exception): """Raised when recursive dead-lock is detected."""