docstr: Raised when an attribute reference or assignment fails.
  
  Args:
      msg (str): the exception message
  
  Keyword Args:
      path_to_item (None/list) the path to the exception in the
          received_data dict
docstr_tok: ["Raised","when","an","attribute","reference","or","assignment","fails",".","Args",":","msg","(","str",")",":","the","exception","message","Keyword","Args",":","path_to_item","(","None\/list",")","the","path","to","the","exception","in","the","received_data","dict"]
code: def __init__(self, msg, path_to_item=None):
      """
      Raised when an attribute reference or assignment fails.
  
      Args:
          msg (str): the exception message
  
      Keyword Args:
          path_to_item (None/list) the path to the exception in the
              received_data dict
      """
      self.path_to_item = path_to_item
      full_msg = msg
      if path_to_item:
          full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
      super(ApiAttributeError, self).__init__(full_msg)
  
label_desc: Use image node_id 1 to create a new ApiAttributeError object from inherited base classes: OpenApiException, AttributeError with example: obj = ApiAttributeError(msg, path_to_item)