Classes and functions for kernel related errors and exceptions.
Inheritance diagram:
digraph inheritance9d4ab668e0 { rankdir=LR; size="8.0, 12.0"; "parallel.error.CompositeError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.CompositeError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Error for representing possibly multiple errors on engines",height=0.25,shape=box,fontsize=10]; "parallel.error.RemoteError" -> "parallel.error.CompositeError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.DependencyTimeout" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.DependencyTimeout",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.ImpossibleDependency" -> "parallel.error.DependencyTimeout" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.EngineError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.EngineError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.EngineError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.IPythonError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.IPythonError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base exception that all of our exceptions inherit from.",height=0.25,shape=box,fontsize=10]; "parallel.error.ImpossibleDependency" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.ImpossibleDependency",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.UnmetDependency" -> "parallel.error.ImpossibleDependency" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.InvalidDependency" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.InvalidDependency",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.ImpossibleDependency" -> "parallel.error.InvalidDependency" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.KernelError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.KernelError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.IPythonError" -> "parallel.error.KernelError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.NoEnginesRegistered" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.NoEnginesRegistered",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.NoEnginesRegistered" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.RemoteError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.RemoteError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Error raised elsewhere",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.RemoteError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.TaskAborted" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.TaskAborted",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.TaskAborted" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.TaskRejectError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.TaskRejectError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Exception to raise when a task should be rejected by an engine.",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.TaskRejectError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.TaskTimeout" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.TaskTimeout",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.TaskTimeout" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.TimeoutError" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.TimeoutError",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.TimeoutError" [arrowsize=0.5,style="setlinewidth(0.5)"]; "parallel.error.UnmetDependency" [style="setlinewidth(0.5)",URL="#IPython.parallel.error.UnmetDependency",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",height=0.25,shape=box,fontsize=10]; "parallel.error.KernelError" -> "parallel.error.UnmetDependency" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
Authors:
Bases: exceptions.Exception
Base exception that all of our exceptions inherit from.
This can be raised by code that doesn’t have any more specific information.
Bases: IPython.parallel.error.KernelError
Error raised elsewhere
print my traceback
render traceback to a list of lines
Bases: IPython.parallel.error.KernelError
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 retries argument > 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.
Bases: IPython.parallel.error.RemoteError
Error for representing possibly multiple errors on engines
render one or all of my tracebacks to a list of lines