class_docstr: Raised if no API key is provided nor found in environment variable.
class_docstr_tok: ["Raised","if","no","API","key","is","provided","nor","found","in","environment","variable","."]
code: def __init__(self) -> None:
      super().__init__(
          "PaLM API key is not provided "
          "or set in the environment variable PALM_API_KEY"
      )
  
imports: import os
  import google.generativeai
  from ratelimit import limits, sleep_and_retry
  from typing import List
label_desc: Use image node_id 1 to create a new PaLMNoAPIKeyError object from inherited base classes: Error, RuntimeError with example: obj = PaLMNoAPIKeyError()