:orphan: .. _s_11PytoRuntime9ExceptionV9traceback4fromAA9TracebackVSgAA6ObjectC_tKFZ: ``traceback(from:)`` ==================== Computes a traceback from an exception. .. raw:: html .. rubric:: Declaration .. raw:: html
static func traceback(
       from exceptionObject: Object
   ) throws -> Traceback?
   
.. rubric:: Parameters - **exceptionObject**: The actual exception object, which must contain a ``__traceback__`` attribute. .. rubric:: Throws An error occurred while parsing the traceback. .. rubric:: Returns A serialized :swift:symbol:`PytoRuntime.Traceback` value.