code: def get_last_error(self):
          
          error = ctypes.c_int32()
          result = self.library.Par_GetLastError(self.pointer, ctypes.byref(error))
          check_error(result, "partner")
          return error
docs: Returns the last job result.