This documentation is for an old version of IPython. You can find docs for newer versions here.
Classes and functions for kernel related errors and exceptions.
- Brian Granger
- Min RK
Base exception that all of our exceptions inherit from.
This can be raised by code that doesn’t have any more specific information.
RemoteError(ename, evalue, traceback, engine_info=None)¶
Error raised elsewhere
__init__(ename, evalue, traceback, engine_info=None)¶
print my traceback
render traceback to a list of lines
Exception to raise when a task should be rejected by an engine.
This exception can be used to allow a task running on an engine to test if the engine (or the user’s namespace on the engine) has the needed task dependencies. If not, the task should raise this exception. For the task to be retried on another engine, the task should be created with the
retriesargument > 1.
The advantage of this approach over our older properties system is that tasks have full access to the user’s namespace on the engines and the properties don’t have to be managed or tested by the controller.