summaryrefslogtreecommitdiff
path: root/threadloop/exceptions.py
blob: 29ccccb9fc6ad8ffaa841a0147c3579853ac101d (plain)
1
2
3
4
5
6
7
8
9
10
11
from __future__ import absolute_import


class ThreadLoopException(Exception):
    """Top-level library exception."""
    pass


class ThreadNotStartedError(ThreadLoopException):
    """Raised when calling submit before ThreadLoop.start() was called."""
    pass