Source code for thriftworker.exceptions

"""All exceptions for this package."""
from __future__ import absolute_import


[docs]class AllocationError(Exception): """Raised if we can't bind to any address from pool."""
[docs]class BindError(Exception): """Error on socket binding."""