Course lesson
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.
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.
Course lesson
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.