Update API error handling
Description
It fixes error handling in case API returns an error. E.g. "no access". In this case when user tries to send a message we show VSCode error notification
Related Issues
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Denys Mishunov