diff --git a/futurist/__init__.py b/futurist/__init__.py index f7f874b..19aa6dc 100644 --- a/futurist/__init__.py +++ b/futurist/__init__.py @@ -20,6 +20,7 @@ from futurist._futures import Future # noqa from futurist._futures import GreenFuture # noqa from futurist._futures import CancelledError # noqa +from futurist._futures import TimeoutError # noqa from futurist._futures import GreenThreadPoolExecutor # noqa from futurist._futures import ProcessPoolExecutor # noqa diff --git a/futurist/_futures.py b/futurist/_futures.py index 5dfe1d3..2de69e1 100644 --- a/futurist/_futures.py +++ b/futurist/_futures.py @@ -28,6 +28,7 @@ from futurist import _thread from futurist import _utils +TimeoutError = _futures.TimeoutError CancelledError = _futures.CancelledError