recoverable errors
Last updated
Was this helpful?
Last updated
Was this helpful?
callback is for:
reporting errors
handling errors
recovering from errors ⭐️
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.