StanzaError.toString() call will yield a string like “XMPPError: not-allowed - cancel”
This is suitable for internal logging, but it would be great to have a method that returns a human-readable string for the actual error cause, which can be shown in an XMPP client. It should include the
<text> element of the error if provided, or an understandable representation of the technical enums otherwise.
Edit: apparently you can’t comment any more after a month, so editing this in. The same kind of problem exists with
StreamError where a long and ugly mandatory “explanation” link is added to the human readable part in the