I see that on MDN/Response/text docs show the example of using .text() only with then
response.text().then(function (text) {
// do something with the text response
});
It returns a promise that resolves with a String.
Because of lint rules, I need to put
// eslint-disable-next-line @typescript-eslint/no-floating-promises
res.text().then(async (t) => {
Is there a use case when I need to catch a rejected promise from Response.text()? Maybe some examples?