Understand what error messages are possible in the chat from the backend

Problem to solve

In 16.5 we have a frontend issue scheduled that aims to:

  • Restyle error messages in the chat to visually read more clearly as errors
  • Display the text of errors in a more helpful, human-readable friendly way

Scope of this issue

In order to display errors in a nice friendly sentence, I need to know all the possible errors the backend can return so I can provide a sentence for each error that the frontend would show.

Possible errors What we should show to the user
AI is banned and Duo can't answer that question
Network error
etc. etc....
Edited by Katie Macoy