class documentation

class twisted.spread.pb.CopyableFailure(failure.Failure, Copyable): (source)

View In Hierarchy

A flavors.RemoteCopy and flavors.Copyable version of twisted.python.failure.Failure for serialization.

Class Variable unsafeTracebacks Undocumented
Method getStateToCopy Collect state related to the exception which occurred, discarding state which cannot reasonably be serialized.

Inherited from Failure:

Instance Variable value The exception instance responsible for this failure.
Instance Variable type The exception's class.
Instance Variable stack list of frames, innermost last, excluding Failure.__init__.
Instance Variable frames list of frames, innermost first.
Class Variable pickled Undocumented
Method __init__ Initialize me with an explanation of the error.
Instance Variable count Undocumented
Instance Variable captureVars Undocumented
Instance Variable tb Undocumented
Instance Variable parents Undocumented
Instance Variable __dict__ Undocumented
Method trap Trap this failure if its type is in a predetermined list.
Method check Check if this failure's type is in a predetermined list.
Method raiseException raise the original exception, preserving traceback information if available.
Method throwExceptionIntoGenerator Throw the original exception into the given generator, preserving traceback information if available.
Method __repr__ Undocumented
Method __str__ Undocumented
Method __getstate__ Avoid pickling objects in the traceback.
Method cleanFailure Remove references to other objects, replacing them with strings.
Method getTracebackObject Get an object that represents this Failure's stack that can be passed to traceback.extract_tb.
Method getErrorMessage Get a string of the exception which caused this Failure.
Method getBriefTraceback Undocumented
Method getTraceback Undocumented
Method printTraceback Emulate Python's standard error reporting mechanism.
Method printBriefTraceback Print a traceback as densely as possible.
Method printDetailedTraceback Print a traceback with detailed locals and globals information.
Class Variable _yieldOpcode Undocumented
Method _extrapolate Extrapolate from one failure into another, copying its stack frames.
Class Method _findFailure Find the failure that represents the exception currently in context.

Inherited from Copyable:

Method getStateToCopyFor Gather state to send when I am serialized for a particular perspective.
Method getTypeToCopy Determine what type tag to send for me.
Method getTypeToCopyFor Determine what type tag to send for me.
Method jellyFor Assemble type tag and state to copy for this broker.

Inherited from Serializable (via Copyable):

Method processUniqueID Return an ID which uniquely represents this object for this process.

Inherited from Jellyable (via Copyable, Serializable):

Method getStateFor Undocumented
unsafeTracebacks = (source)

Undocumented

(type: int)
def getStateToCopy(self): (source)

Collect state related to the exception which occurred, discarding state which cannot reasonably be serialized.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.