forked from goodboy/tractor
1
0
Fork 0

Add a specially handled `ContextCancelled` error

stdstream_clobber_fix
Tyler Goodlet 2021-06-13 18:01:49 -04:00
parent a1603709ab
commit 0118931229
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class InternalActorError(RemoteActorError):
class TransportClosed(trio.ClosedResourceError): class TransportClosed(trio.ClosedResourceError):
"Underlying channel transport was closed prior to use" "Underlying channel transport was closed prior to use"
class ContextCancelled(RemoteActorError): class ContextCancelled(RemoteActorError):
"Inter-actor task context cancelled itself on the callee side." "Inter-actor task context cancelled itself on the callee side."