code: def format_traceback(
      etype: Any, evalue: Any, tb: Any, tb_offset: Any
  ) -> str:
      line = "---------------------------------------------------------------------------\n"
      template = ""
      template += line
      template += f"{type(evalue).__name__}\n"
      template += line
      template += f"Exception: {evalue}\n"
  
      if evalue.traceback:
          template += line
          template += "Traceback:\n"
          tb_lines = (
              "".join(traceback.format_tb(tb, evalue.traceback_limit))
              + "\n"
          )
          template += tb_lines
          template += line
  
      return template
  
imports: import sys
  import traceback
  from typing import Any
  from result import Err
  from ..serde.serializable import serializable
  from ..types.base import SyftBaseModel
label_desc: Use image node_id 3 for calling the SyftException obj's underlying member method code with example usage: obj.format_traceback(etype, evalue, tb, tb_offset) and returns: template