Могу ли я предположить, что выборка может только бросать ошибок TypeError?
const request = async () => {
let response = null;
try {
response = await fetch('https://api.com/values/1');
} catch (err){
//is the err here is always of type typeError
}
if (!response.ok){
//bla bla bla 401/403 ...
}
const json = await response.json();
console.info(json);
}
request();



![Безумие обратных вызовов в javascript [JS]](https://i.imgur.com/WsjO6zJb.png)


fetch также может бросить AbortError. Дополнительные сведения см. в статье документация.