class_docstr: Error indicating that the user passed a parameter of wrong type.
  
  This error will trigger "soft" exception handling, in the sense that the stack trace will be much more compact
  than usual.
docstr: Create an H2OTypeError exception object.
  
  :param message: error message that will be shown to the user. If not given, this message will be constructed
      from ``var_name``, ``var_value``, etc.
  :param var_name: name of the variable whose type is wrong (can be used for highlighting etc).
  :param var_value: the value of the variable.
  :param var_type_name: the name of the variable's actual type.
  :param exp_type_name: the name of the variable's expected type.
  :param skip_frames: how many auxiliary function calls have been made since the moment of the exception. This
      many local frames will be skipped in the output of the exception message. For example if you want to check
      a variables type, and call a helper function ``assert_is_type()`` to do that job for you, then
      ``skip_frames`` should be 1 (thus making the call to ``assert_is_type`` invisible).
docstr_tok: ["Create","an","H2OTypeError","exception","object",".",":","param","message",":","error","message","that","will","be","shown","to","the","user",".","If","not","given",",","this","message","will","be","constructed","from","``","var_name","``",",","``","var_value","``",",","etc",".",":","param","var_name",":","name","of","the","variable","whose","type","is","wrong","(","can","be","used","for","highlighting","etc",")",".",":","param","var_value",":","the","value","of","the","variable",".",":","param","var_type_name",":","the","name","of","the","variable","'s","actual","type",".",":","param","exp_type_name",":","the","name","of","the","variable","'s","expected","type",".",":","param","skip_frames",":","how","many","auxiliary","function","calls","have","been","made","since","the","moment","of","the","exception",".","This","many","local","frames","will","be","skipped","in","the","output","of","the","exception","message",".","For","example","if","you","want","to","check","a","variables","type",",","and","call","a","helper","function","``","assert_is_type","(",")","``","to","do","that","job","for","you",",","then","``","skip_frames","``","should","be","1","(","thus","making","the","call","to","``","assert_is_type","``","invisible",")","."]
code: def __init__(
      self,
      var_name=None,
      var_value=None,
      var_type_name=None,
      exp_type_name=None,
      message=None,
      skip_frames=0,
  ):
      """
      Create an H2OTypeError exception object.
  
      :param message: error message that will be shown to the user. If not given, this message will be constructed
          from ``var_name``, ``var_value``, etc.
      :param var_name: name of the variable whose type is wrong (can be used for highlighting etc).
      :param var_value: the value of the variable.
      :param var_type_name: the name of the variable's actual type.
      :param exp_type_name: the name of the variable's expected type.
      :param skip_frames: how many auxiliary function calls have been made since the moment of the exception. This
          many local frames will be skipped in the output of the exception message. For example if you want to check
          a variables type, and call a helper function ``assert_is_type()`` to do that job for you, then
          ``skip_frames`` should be 1 (thus making the call to ``assert_is_type`` invisible).
      """
      super(H2OTypeError, self).__init__(message)
      self._var_name = var_name
      self._var_value = var_value
      self._var_type_name = var_type_name or str(type(var_value))
      self._exp_type_name = exp_type_name
      self._message = message
      self._skip_frames = skip_frames
  
label_desc: Use image node_id 1 to create a new H2OTypeError object from inherited base classes: H2OSoftError, TypeError with example: obj = H2OTypeError(var_name, var_value, var_type_name, exp_type_name, message, skip_frames)