The new cause data property that you can add to a thrown Error can be used to retain access to the original error caught in a promise rejection.
Error