🔰recoverable errors

  • .catch() callback is for:

    • reporting errors

    • handling errors

    • recovering from errors ⭐️

  • .catch() callback can throw a new error, but if it returns normally, than that return value is used to resolve (fulfill) the associated Promise, and the error stops propagating.

Last updated