class_docstr: An exception which should return an exit code with sys.exit().
class_docstr_tok: ["An","exception","which","should","return","an","exit","code","with","sys.exit","(",")","."]
docstr: Return a string representation of the exception.
docstr_tok: ["Return","a","string","representation","of","the","exception","."]
code: def __str__(self):
      """Return a string representation of the exception."""
      super_msg = super().__str__()  # Don't do str(super())
      if self.message:
          return self.message.format(super_msg)
      return super_msg
  
imports: from __future__ import annotations
  from enum import IntEnum
  from textwrap import dedent
label_desc: Use image node_id 1 for calling the ExitCodeException obj's underlying member method code with example usage: obj.__str__() and returns: super_msg, self