code: def __init__(self):
      msg = "if IDENTIFIER is a pathspec than --type is required"
      super().__init__(msg=msg)
  
imports: from metaflow.exception import MetaflowException
  import traceback
  import re
label_desc: Use image node_id 1 to create a new TypeRequiredException object from inherited base classes: MetaflowException with example: obj = TypeRequiredException()