A CopiedFailure is a pb.RemoteCopy of a failure.Failure transferred via PB.

Instance Variable type The full import path of the exception class which was raised on the remote end.
Instance Variable value A str() representation of the remote value.
Instance Variable traceback The remote traceback.
Method printTraceback Emulate Python's standard error reporting mechanism.
Method throwExceptionIntoGenerator No summary

Inherited from RemoteCopy:

Method setCopyableState I will be invoked with the state to copy locally.
Instance Variable __dict__ Undocumented
Method unjellyFor Perform the inverse operation of Jellyable.jellyFor.

Inherited from Unjellyable (via RemoteCopy):

Method setStateFor Undocumented

Inherited from Failure:

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 Undocumented
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 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.
type =
The full import path of the exception class which was raised on the remote end.
(type: str)
value =
A str() representation of the remote value.
(type: CopiedFailure or str)
traceback =
The remote traceback.
(type: str)
def printTraceback(self, file=None, elideFrameworkCode=0, detail="""default"""): (source)

Emulate Python's standard error reporting mechanism.

ParametersfileIf specified, a file-like object to which to write the traceback.
elideFrameworkCodeA flag indicating whether to attempt to remove uninteresting frames from within Twisted itself from the output.
detailA string indicating how much information to include in the traceback. Must be one of 'brief', 'default', or 'verbose'.
def throwExceptionIntoGenerator(self, g): (source)

Throw the original exception into the given generator, preserving traceback information if available. In the case of a CopiedFailure where the exception type is a string, a pb.RemoteError is thrown instead.

ReturnsThe next value yielded from the generator.
RaisesStopIterationIf there are no more values in the generator.
RemoteErrorThe wrapped remote exception.
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.