code: def __init__(self, token_type):
      self.message = (
          "The token type is not supported, we only support "
          '"str" and "int" as the inner token types. Received type(token)="{}"'.format(
              token_type
          )
      )
      super().__init__(self.message)
  
imports: import abc
  import itertools
  from ..vocab import Vocab
  from ...utils.registry import Registry
  from typing import List, Tuple, Union, NewType, Optional
label_desc: Use image node_id 1 to create a new TokenTypeNotSupportedError object from inherited base classes: ValueError with example: obj = TokenTypeNotSupportedError(token_type)