Results 1 - 2 of 2

PromiseRejectionEvent.reason

The PromiseRejectionEvent.reason read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject(). This in theory provides information about why the promise was rejected.
API Events events HTML DOM JavaScript PromiseRejectionEvent Promises Property reason Reference