.catch() ↔ Chain Callback to handle Promise Error propagation
.catch() implicitly passed error object Argument
.catch(err ⇒ console.error(err.message))
Silent Fail
Error thrown in async code MISSING .catch()
use with Guard Clause to throw custom Error message
if(!response.ok) throw new Error(`${X} no found!`)
References
Silent Fail↔ Errorthrown in async code MISSING.catch()