code: def get_error_message(status_code):
      
      errmsg = ctypes.create_string_buffer(1024)
      nican.ncStatusToString(status_code, len(errmsg), errmsg)
      return errmsg.value.decode("ascii")
docs: Convert status code to descriptive string.