code: def __init__(self, message: str):
      opts = ", ".join(
          ["`{}`".format(t.value) for t in list(enum.Template)]
      )
      self.message = (
          "The passed template `{}` is invalid. "
          "Valid templates are: {}.".format(message, opts)
      )
  
imports: from sklearn_porter import enums
label_desc: Use image node_id 1 to create a new InvalidTemplateError object from inherited base classes: Exception with example: obj = InvalidTemplateError(message)