From Xojo Documentation
Occurs when the Notification could not be sent.
There are three reasons why an error occurs:
- There is an error sending a particular Notification, in which case Notification will contain the Notification object.
- The user has declined to allow local notifications. in which case, the Notification will be Nil.
- The user has declined to allow or the device is not capable of receiving remote notifications in which case, Notification will be Nil.