Catch fetch() error type: full code example language: javascript function: fetch() demo: catch error 2 files index.html app.js Live preview https://gist.run/?id=<INPUT_GIST_ID_HERE>