class_docstr: Raised when a library not in the whitelist is imported.
  
  Args:
      Exception (Exception): BadImportError
class_docstr_tok: ["Raised","when","a","library","not","in","the","whitelist","is","imported",".","Args",":","Exception","(","Exception",")",":","BadImportError"]
docstr: __init__ method of BadImportError Class
  
  Args:
      library_name (str): Name of the library that is not in the whitelist.
docstr_tok: ["__init__","method","of","BadImportError","Class","Args",":","library_name","(","str",")",":","Name","of","the","library","that","is","not","in","the","whitelist","."]
code: def __init__(self, library_name):
      """
      __init__ method of BadImportError Class
  
      Args:
          library_name (str): Name of the library that is not in the whitelist.
      """
      self.library_name = library_name
      super().__init__(
          f"Generated code includes import of {library_name} which"
          " is not in whitelist."
      )
  
label_desc: Use image node_id 1 to create a new BadImportError object from inherited base classes: Exception with example: obj = BadImportError(library_name)