Interface
NotificationExceptionInterface
Magento\TwoFactorAuth\Api\Exception\NotificationExceptionInterface
What it does
This interface defines an exception type that should be thrown when the Two-Factor Authentication system fails to send a notification to a user, such as when SMS or email delivery fails.
Developers should catch or throw this exception when implementing notification mechanisms for 2FA codes to properly handle and respond to notification failures.