From 46f3831fd238b4c1fb10d44e4531d9e59d574c97 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 22 Jan 2023 18:06:09 +0100 Subject: Use QXmppError in all IQ results instead of StanzaError This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501. --- src/client/QXmppClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/QXmppClient.h') diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index 5cef5fe3..ca33afb6 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -91,7 +91,7 @@ class QXMPP_EXPORT QXmppClient : public QXmppLoggable public: using IqResult = std::variant; - using EmptyResult = std::variant; + using EmptyResult = std::variant; /// An enumeration for type of error. /// Error could come due a TCP socket or XML stream or due to various stanzas. -- cgit v1.2.3