docstr: Args:
      msg (str): the exception message
  
  Keyword Args:
      path_to_item (list) the path to the exception in the
          received_data dict. None if unset
docstr_tok: ["Args",":","msg","(","str",")",":","the","exception","message","Keyword","Args",":","path_to_item","(","list",")","the","path","to","the","exception","in","the","received_data","dict",".","None","if","unset"]
code: def __init__(self, msg, path_to_item=None):
      """
      Args:
          msg (str): the exception message
  
      Keyword Args:
          path_to_item (list) the path to the exception in the
              received_data dict. None if unset
      """
  
      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(ApiValueError, self).__init__(full_msg)
  
label_desc: Use image node_id 1 to create a new ApiValueError object from inherited base classes: OpenApiException, ValueError with example: obj = ApiValueError(msg, path_to_item)