web api event
Notification: error event
Secure context Available in workers
The error event of the Notification interface fires when something goes wrong with a Notification (in many cases an error preventing the notification from being displayed.)
Syntax
Use the event name in methods like addEventListener(), or set an event handler property.
addEventListener("error", (event) => { })
onerror = (event) => { }
Event type
A generic Event.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.