JavaScript PromiseRejectionEvent : Event
Event data for when a Promise's reject handler is called or an exception is thrown in an
Promise executor function or in an async function. See window.onunhandledrejection.
Copyright © PUBLIC Contributors