feat: Add ResourceError interface and implement FetchError
When supporting blocking projects from using code suggestions automatically it was discovered that there is no consistent way to access any HTTP error statuses from fetchFromApi
between WebIDE/Desktop. This MR adds a new interface, ResponseError
to use and implements this in WebIDE