class_docstr: Raised when an object type is invalid
class_docstr_tok: ["Raised","when","an","object","type","is","invalid"]
code: def __init__(self, att_name, obj_type, supported_types):
      message = "The '{}' type '{}' is invalid, should be '{}'.".format(
          att_name, obj_type, supported_types
      )
      Exception.__init__(self, message)
      self.message = message
  
label_desc: Use image node_id 1 to create a new InvalidTypeError object from inherited base classes: Exception with example: obj = InvalidTypeError(att_name, obj_type, supported_types)