kernel.error

Module: kernel.error

Inheritance diagram for IPython.kernel.error:

Classes and functions for kernel related errors and exceptions.

Classes

AbortedPendingDeferredError

class IPython.kernel.error.AbortedPendingDeferredError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

ClientError

class IPython.kernel.error.ClientError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

CompositeError

class IPython.kernel.error.CompositeError(message, elist)

Bases: IPython.kernel.error.KernelError

__init__()
print_tracebacks()
raise_exception()

ConnectionError

class IPython.kernel.error.ConnectionError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

FileTimeoutError

class IPython.kernel.error.FileTimeoutError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

IdInUse

class IPython.kernel.error.IdInUse

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

InvalidClientID

class IPython.kernel.error.InvalidClientID

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

InvalidDeferredID

class IPython.kernel.error.InvalidDeferredID

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

InvalidEngineID

class IPython.kernel.error.InvalidEngineID

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

InvalidProperty

class IPython.kernel.error.InvalidProperty

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

KernelError

class IPython.kernel.error.KernelError

Bases: IPython.kernel.core.error.IPythonError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

MessageSizeError

class IPython.kernel.error.MessageSizeError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

MissingBlockArgument

class IPython.kernel.error.MissingBlockArgument

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

NoEnginesRegistered

class IPython.kernel.error.NoEnginesRegistered

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

NotAPendingResult

class IPython.kernel.error.NotAPendingResult

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

NotDefined

class IPython.kernel.error.NotDefined(name)

Bases: IPython.kernel.error.KernelError

__init__()

PBMessageSizeError

class IPython.kernel.error.PBMessageSizeError

Bases: IPython.kernel.error.MessageSizeError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

ProtocolError

class IPython.kernel.error.ProtocolError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

QueueCleared

class IPython.kernel.error.QueueCleared

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

ResultAlreadyRetrieved

class IPython.kernel.error.ResultAlreadyRetrieved

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

ResultNotCompleted

class IPython.kernel.error.ResultNotCompleted

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

SecurityError

class IPython.kernel.error.SecurityError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

SerializationError

class IPython.kernel.error.SerializationError

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

StopLocalExecution

class IPython.kernel.error.StopLocalExecution

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

TaskAborted

class IPython.kernel.error.TaskAborted

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

TaskRejectError

class IPython.kernel.error.TaskRejectError

Bases: IPython.kernel.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.

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

TaskTimeout

class IPython.kernel.error.TaskTimeout

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

UnpickleableException

class IPython.kernel.error.UnpickleableException

Bases: IPython.kernel.error.KernelError

__init__()

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Function

IPython.kernel.error.collect_exceptions()