class_docstr: Error raised when entity not found
class_docstr_tok: ["Error","raised","when","entity","not","found"]
code: def __init__(self, name: str, type: Union[Type, str]):
      self.name = name  # TODO: rename to id
      self.type = type if isinstance(type, str) else type.__name__
  
imports: from typing import Any, Optional, Type, Union
  import pydantic
  from starlette import status
label_desc: Use image node_id 1 to create a new EntityNotFoundError object from inherited base classes: ServerError with example: obj = EntityNotFoundError(name, type)