Exceptions

This module contains all custom exceptions raised by PyProcSync.

exception pyprocsync.exceptions.ProcSyncError[source]

Bases: BaseException

Base class for all exceptions in PyProcSync.

exception pyprocsync.exceptions.TimeOutError[source]

Bases: pyprocsync.exceptions.ProcSyncError

This exception is raised when the node is gave up waiting for other nodes. This could caused by other nodes crashed or bad configuration.

exception pyprocsync.exceptions.TooLateError[source]

Bases: pyprocsync.exceptions.ProcSyncError

This exception is raised when the announced continue time is already passed. That could be caused by high network latency or unsynchronized system clocks between nodes.