aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStanza.h
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb.prv@gmx.de>2020-03-28 17:17:07 +0100
committerLNJ <lnj@kaidan.im>2020-03-28 18:07:47 +0100
commitefc82e3307ac28ca0eb9639274301e9cb350e257 (patch)
treef25920e3602c9c47e8fd2002945146f1deff18b7 /src/base/QXmppStanza.h
parent1ac7b9d2a25d50b7680bd75ff68f29055b196d80 (diff)
downloadqxmpp-efc82e3307ac28ca0eb9639274301e9cb350e257.tar.gz
Reformat code
Diffstat (limited to 'src/base/QXmppStanza.h')
-rw-r--r--src/base/QXmppStanza.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h
index 31f3d99f..e06d0b3b 100644
--- a/src/base/QXmppStanza.h
+++ b/src/base/QXmppStanza.h
@@ -110,37 +110,37 @@ public:
/// The error descriptions are not detailed in here. The exact meaning
/// can be found in the particular protocols using them.
enum Type {
- Cancel, ///< The error is not temporary.
- Continue, ///< The error was only a warning.
- Modify, ///< The request needs to be changed and resent.
- Auth, ///< The request needs to be resent after authentication.
- Wait ///< The error is temporary, you should wait and resend.
+ Cancel, ///< The error is not temporary.
+ Continue, ///< The error was only a warning.
+ Modify, ///< The request needs to be changed and resent.
+ Auth, ///< The request needs to be resent after authentication.
+ Wait ///< The error is temporary, you should wait and resend.
};
/// A detailed condition of the error
enum Condition {
- BadRequest, ///< The request does not contain a valid schema.
- Conflict, ///< The request conflicts with another.
- FeatureNotImplemented, ///< The feature is not implemented.
- Forbidden, ///< The requesting entity does not posses the necessary privileges to perform the request.
- Gone, ///< The user or server can not be contacted at the address.
- InternalServerError, ///< The server has expierienced an internal error and can not process the request.
- ItemNotFound, ///< The requested item could not be found.
- JidMalformed, ///< The given JID is not valid.
- NotAcceptable, ///< The request does not meet the defined critera.
- NotAllowed, ///< No entity is allowed to perform the request.
- NotAuthorized, ///< The request should be resent after authentication.
- PaymentRequired, ///< Payment is required to perform the request.
- RecipientUnavailable, ///< The recipient is unavailable.
- Redirect, ///< The requested resource is available elsewhere.
- RegistrationRequired, ///< The requesting entity needs to register first.
- RemoteServerNotFound, ///< The remote server could not be found.
- RemoteServerTimeout, ///< The connection to the server could not be established or timed out.
- ResourceConstraint, ///< The recipient lacks system resources to perform the request.
- ServiceUnavailable, ///< The service is currently not available.
- SubscriptionRequired, ///< The requester needs to subscribe first.
- UndefinedCondition, ///< An undefined condition was hit.
- UnexpectedRequest ///< The request was unexpected.
+ BadRequest, ///< The request does not contain a valid schema.
+ Conflict, ///< The request conflicts with another.
+ FeatureNotImplemented, ///< The feature is not implemented.
+ Forbidden, ///< The requesting entity does not posses the necessary privileges to perform the request.
+ Gone, ///< The user or server can not be contacted at the address.
+ InternalServerError, ///< The server has expierienced an internal error and can not process the request.
+ ItemNotFound, ///< The requested item could not be found.
+ JidMalformed, ///< The given JID is not valid.
+ NotAcceptable, ///< The request does not meet the defined critera.
+ NotAllowed, ///< No entity is allowed to perform the request.
+ NotAuthorized, ///< The request should be resent after authentication.
+ PaymentRequired, ///< Payment is required to perform the request.
+ RecipientUnavailable, ///< The recipient is unavailable.
+ Redirect, ///< The requested resource is available elsewhere.
+ RegistrationRequired, ///< The requesting entity needs to register first.
+ RemoteServerNotFound, ///< The remote server could not be found.
+ RemoteServerTimeout, ///< The connection to the server could not be established or timed out.
+ ResourceConstraint, ///< The recipient lacks system resources to perform the request.
+ ServiceUnavailable, ///< The service is currently not available.
+ SubscriptionRequired, ///< The requester needs to subscribe first.
+ UndefinedCondition, ///< An undefined condition was hit.
+ UnexpectedRequest ///< The request was unexpected.
};
Error();