internal static void SetError(QiPromise promise, string error) => qi_promise_set_error(promise.Handle, error);