class_docstr: A ValueError class for logging errors related to wrong value of variables.
class_docstr_tok: ["A","ValueError","class","for","logging","errors","related","to","wrong","value","of","variables","."]
docstr: Initialization method.
  
  Args:
      error: Error message to be logged.
docstr_tok: ["Initialization","method",".","Args",":","error",":","Error","message","to","be","logged","."]
code: def __init__(self, error: str) -> None:
      """Initialization method.
  
      Args:
          error: Error message to be logged.
  
      """
  
      super(ValueError, self).__init__("ValueError", error)
  
file_path: opytimizer/opytimizer/utils/exception.py
imports: from opytimizer.utils import logging
label_desc: Use image node_id 1 to create a new ValueError object from inherited base classes: Error with example: obj = ValueError(error)