code: def __init__(self, message: str, space: gym.Space, x: Any) -> None:
      self.message = message
      self.space = space
      self.x = x
  
imports: from __future__ import annotations
  from typing import Any, Generic, TypeVar
  import gym
  import numpy
  from gym import spaces
  from qlib.typehint import final
  from .simulator import ActType, StateType
label_desc: Use image node_id 1 to create a new GymSpaceValidationError object from inherited base classes: Exception with example: obj = GymSpaceValidationError(message, space, x)