It would be good to make XMPPError and PubSubError to conform to LocalizedError protocol to return a message and name of the error in user-friendly way.
XMPPError
PubSubError
LocalizedError
It would be good to make
XMPPError
andPubSubError
to conform toLocalizedError
protocol to return a message and name of the error in user-friendly way.