summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-09 21:57:09 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-09 21:57:09 (GMT)
commit08cc79dfe35b0735ef49108b82c52f94aab02e84 (patch)
tree6592881a96f7298ed6b1fc28073da4395d7ac368 /Swiften/Elements
parent6c9ab286f209266e627bd011847c3b5d6476ddab (diff)
downloadswift-contrib-08cc79dfe35b0735ef49108b82c52f94aab02e84.zip
swift-contrib-08cc79dfe35b0735ef49108b82c52f94aab02e84.tar.bz2
Upgraded stream errors to new RFC3920bis.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/StreamError.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Elements/StreamError.h b/Swiften/Elements/StreamError.h
index a480d5a..4311055 100644
--- a/Swiften/Elements/StreamError.h
+++ b/Swiften/Elements/StreamError.h
@@ -30,8 +30,10 @@ namespace Swift {
InvalidNamespace,
InvalidXML,
NotAuthorized,
+ NotWellFormed,
PolicyViolation,
RemoteConnectionFailed,
+ Reset,
ResourceConstraint,
RestrictedXML,
SeeOtherHost,
@@ -40,7 +42,6 @@ namespace Swift {
UnsupportedEncoding,
UnsupportedStanzaType,
UnsupportedVersion,
- XMLNotWellFormed,
};
StreamError(Type type = UndefinedCondition, const String& text = String()) : type_(type), text_(text) { }