Source code for thriftpool.exceptions
from __future__ import absolute_import
__all__ = ['SystemTerminate', 'RegistrationError']
[docs]class SystemTerminate(SystemExit):
"""Throw to terminate program."""
[docs]class RegistrationError(Exception):
"""Error happened on handler registration."""
class WrappingError(Exception):
"""Can't wrap given class."""