class_docstr: Exception raised when a dataset cannot be loaded.
  
  Parameters
  ----------
  dataset_type: type
      The type of dataset that failed to load.
code: def __init__(self, dataset_type: type):
      message = f"Failed to load dataset from {dataset_type}.\n"
      super().__init__(message)
  
imports: import os
  from typing import Any, Callable, Dict, List, Mapping, Optional, Tuple, Union, cast, TYPE_CHECKING
  import numpy
  import pandas
  from datasets.arrow_dataset import Dataset
  from datasets import ClassLabel
  from cleanlab.internal.validation import labels_to_array
label_desc: Use image node_id 1 to create a new DatasetLoadError object from inherited base classes: ValueError with example: obj = DatasetLoadError(dataset_type)