Map all Wocky errors to an appropriate TpError
Submitted by Will Thompson
Assigned to Telepathy bugs list
Connection_Status_Reason is not expressive enough to encode the errors that might occur when registering an account.
For example, I tried to register two accounts in quick succession on jabster.pl, and for the second one it said:
</query>``<error code='500' type='wait'>Users are not allowed to register accounts so quickly
Gabble exposed that as Authentication_Failed, which is obviously wrong. It should emit ConnectionError with error NotAvailable.