Obsolete Members for QXmppStanza::Error
The following members of class Error are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Types
(since QXmpp 1.3., deprecated) enum | Condition { NoCondition, BadRequest, Conflict, FeatureNotImplemented, Forbidden, …, PolicyViolation } |
Member Type Documentation
[since QXmpp 1.3., deprecated] enum Error::Condition
This enum is deprecated. We strongly advise against using it in new code.
A detailed condition of the error
| Constant | Value | Description |
|---|---|---|
QXmppStanza::Error::NoCondition | -1 | No specific error condition was provided. |
QXmppStanza::Error::BadRequest | 0 | The request does not contain a valid schema. |
QXmppStanza::Error::Conflict | 1 | The request conflicts with another. |
QXmppStanza::Error::FeatureNotImplemented | 2 | The feature is not implemented. |
QXmppStanza::Error::Forbidden | 3 | The requesting entity does not posses the necessary privileges to perform the request. |
QXmppStanza::Error::Gone | 4 | The user or server can not be contacted at the address. This is used in combination with a redirection URI. |
QXmppStanza::Error::InternalServerError | 5 | The server has expierienced an internal error and can not process the request. |
QXmppStanza::Error::ItemNotFound | 6 | The requested item could not be found. |
QXmppStanza::Error::JidMalformed | 7 | The given JID is not valid. |
QXmppStanza::Error::NotAcceptable | 8 | The request does not meet the defined critera. |
QXmppStanza::Error::NotAllowed | 9 | No entity is allowed to perform the request. |
QXmppStanza::Error::NotAuthorized | 10 | The request should be resent after authentication. |
QXmppStanza::Error::RecipientUnavailable | 12 | The recipient is unavailable. |
QXmppStanza::Error::Redirect | 13 | The requested resource is available elsewhere. This is used in combination with a redirection URI. |
QXmppStanza::Error::RegistrationRequired | 14 | The requesting entity needs to register first. |
QXmppStanza::Error::RemoteServerNotFound | 15 | The remote server could not be found. |
QXmppStanza::Error::RemoteServerTimeout | 16 | The connection to the server could not be established or timed out. |
QXmppStanza::Error::ResourceConstraint | 17 | The recipient lacks system resources to perform the request. |
QXmppStanza::Error::ServiceUnavailable | 18 | The service is currently not available. |
QXmppStanza::Error::SubscriptionRequired | 19 | The requester needs to subscribe first. |
QXmppStanza::Error::UndefinedCondition | 20 | An undefined condition was hit. |
QXmppStanza::Error::UnexpectedRequest | 21 | The request was unexpected. |
QXmppStanza::Error::PaymentRequired | 11 | Payment is required to perform the request. Removed in RFC 6120. |
QXmppStanza::Error::PolicyViolation | 22 | The entity has violated a local server policy. |
This enum was introduced in QXmpp 1.3..