code: def __init__(self, error_code):
      super(NvmlException, self).__init__(error_code)
      self.error_code = error_code
  
imports: import threading
  from ctypes import CDLL, POINTER, Structure, byref, c_uint, c_ulonglong, create_string_buffer
label_desc: Use image node_id 1 to create a new NvmlException object from inherited base classes: Exception with example: obj = NvmlException(error_code)