Extract common error handling methods.
Updated for latest lobby protocol changes (returning just user ids).