Commit Graph

2 Commits

Author SHA1 Message Date
Matt Goodall 82015bcab4 Collect and consolidate namespaces. 2012-07-18 11:36:59 +01:00
Matt Goodall 438164a9d9 Better/correct Error type.
XMPP errors are a real pain - they have up to 3 elements. 2 are
XMPP-specific and have one of two namespaces, the other is application
specific. Go's xml package is good, but it's not that good!

So, I've had to handle the error data as a generic Payload string attr
and provide methods for retrieving the bits as conveniently as possible.

Note: there's no application-specific error data yet but it should slot
in ok now.
2012-07-18 11:22:59 +01:00