isolate.error
import isolate.error
isolatelifts part of this module out to its own top level; each name below is shown with the path that reaches it. Anything still spelledisolate.error.*needsimport isolate.error.
IsolateError, kept in its own leaf module (no imports of its own) so
both index and channel can depend on it without a circular import
between them. Re-exported by isolate.
Classes
IsolateError
class isolate.IsolateError < Error
Raised when an isolate’s function raises an uncaught error, a Channel
operation fails, or a value cannot cross an isolate boundary.
Constructor
isolate.IsolateError(message)
IsolateTimeoutError
class isolate.IsolateTimeoutError < IsolateError
Raised when Isolate.join(), Channel.send(), or Channel.recv() is
given a timeout and it elapses before the operation completes.
Constructor
isolate.IsolateTimeoutError(message)
IsolateCancelledError
class isolate.IsolateCancelledError < IsolateError
Raised from Isolate.join(), Channel.send(), Channel.recv(),
isolate.wait_any(), isolate.wait_all(), or isolate.select() when
the CALLING isolate; the one blocked in that call, not whatever it was
waiting on; is cancel()ed while still waiting.
Constructor
isolate.IsolateCancelledError(message)