Log in
Interface

NotificationExceptionInterface

Magento\User\Model\Spi\NotificationExceptionInterface

What it does

This interface marks exceptions that occur when the system fails to send notifications to admin users.

Developers should throw exceptions implementing this interface when notification delivery fails, allowing consuming code to handle notification errors differently from other types of exceptions.

It's part of the Service Provider Interface (SPI) layer for extensibility.