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

ConstantValueDescription
QXmppStanza::Error::NoCondition-1No specific error condition was provided.
QXmppStanza::Error::BadRequest0The request does not contain a valid schema.
QXmppStanza::Error::Conflict1The request conflicts with another.
QXmppStanza::Error::FeatureNotImplemented2The feature is not implemented.
QXmppStanza::Error::Forbidden3The requesting entity does not posses the necessary privileges to perform the request.
QXmppStanza::Error::Gone4The user or server can not be contacted at the address. This is used in combination with a redirection URI.
QXmppStanza::Error::InternalServerError5The server has expierienced an internal error and can not process the request.
QXmppStanza::Error::ItemNotFound6The requested item could not be found.
QXmppStanza::Error::JidMalformed7The given JID is not valid.
QXmppStanza::Error::NotAcceptable8The request does not meet the defined critera.
QXmppStanza::Error::NotAllowed9No entity is allowed to perform the request.
QXmppStanza::Error::NotAuthorized10The request should be resent after authentication.
QXmppStanza::Error::RecipientUnavailable12The recipient is unavailable.
QXmppStanza::Error::Redirect13The requested resource is available elsewhere. This is used in combination with a redirection URI.
QXmppStanza::Error::RegistrationRequired14The requesting entity needs to register first.
QXmppStanza::Error::RemoteServerNotFound15The remote server could not be found.
QXmppStanza::Error::RemoteServerTimeout16The connection to the server could not be established or timed out.
QXmppStanza::Error::ResourceConstraint17The recipient lacks system resources to perform the request.
QXmppStanza::Error::ServiceUnavailable18The service is currently not available.
QXmppStanza::Error::SubscriptionRequired19The requester needs to subscribe first.
QXmppStanza::Error::UndefinedCondition20An undefined condition was hit.
QXmppStanza::Error::UnexpectedRequest21The request was unexpected.
QXmppStanza::Error::PaymentRequired11Payment is required to perform the request. Removed in RFC 6120.
QXmppStanza::Error::PolicyViolation22The entity has violated a local server policy.

This enum was introduced in QXmpp 1.3..