code: def __init__(self, version_str):
      super().__init__(
          f"Major version string `{version_str}` is not valid."
      )
  
imports: import re
  import typing
  from modelkit.assets import errors
  from modelkit.assets.versioning import versioning
label_desc: Use image node_id 1 to create a new InvalidMajorVersionError object from inherited base classes: errors with example: obj = InvalidMajorVersionError(version_str)