Expose trio.MultiError publicly

improved_errors
Tyler Goodlet 2018-11-19 14:15:28 -05:00
parent 9bb8a062eb
commit 1bb37dbddf
1 changed files with 5 additions and 3 deletions

View File

@ -4,10 +4,11 @@ tractor: An actor model micro-framework built on
""" """
import importlib import importlib
from functools import partial from functools import partial
from typing import Tuple, Any, Optional from typing import Tuple, Any
import typing import typing
import trio # type: ignore import trio # type: ignore
from trio import MultiError
from .log import get_console_log, get_logger, get_loglevel from .log import get_console_log, get_logger, get_loglevel
from ._ipc import _connect_chan, Channel from ._ipc import _connect_chan, Channel
@ -23,10 +24,11 @@ __all__ = [
'current_actor', 'current_actor',
'find_actor', 'find_actor',
'get_arbiter', 'get_arbiter',
'wait_for_actor',
'open_nursery', 'open_nursery',
'RemoteActorError', 'wait_for_actor',
'Channel', 'Channel',
'MultiError',
'RemoteActorError',
] ]