Add a stream overrun exception

stricter_context_starting
Tyler Goodlet 2021-12-05 18:28:02 -05:00
parent d307eab118
commit 6751349987
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ class NoRuntime(RuntimeError):
"The root actor has not been initialized yet" "The root actor has not been initialized yet"
class StreamOverrun(trio.TooSlowError):
"This stream was overrun by sender"
def pack_error( def pack_error(
exc: BaseException, exc: BaseException,
tb=None, tb=None,