class_docstr: Exception raised when a sample is invalid.
class_docstr_tok: ["Exception","raised","when","a","sample","is","invalid","."]
code: def __init__(self, msg: str, paths: list[str] | None = None):
      super().__init__(msg)
      self.msg = msg
      self.paths: list[str] = paths or []
  
file_path: nni/nni/mutable/exception.py
imports: from __future__ import annotations
  from typing import overload
label_desc: Use image node_id 1 to create a new SampleValidationError object from inherited base classes: ValueError with example: obj = SampleValidationError(msg, paths)