class_docstr: Serializable experiment data.
class_docstr_tok: ["Serializable","experiment","data","."]
code: def contains_error(self) -> bool:
      return any(
          value.get("error") for value in self.params.values()
      ) or any(value.get("error") for value in self.metrics.values())
  
imports: import json
  from dataclasses import asdict, dataclass, field
  from datetime import datetime
  from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Literal, Optional
  from dvc.exceptions import DvcException
  from dvc.repo.metrics.show import _gather_metrics
  from dvc.repo.params.show import _gather_params
  from dvc.utils import relpath
label_desc: Use image node_id 5 for calling the SerializableExp obj's underlying member method code with example usage: obj.contains_error() and returns: unknown