eventTsmStreamSecII.OnTLSIncomingAlert
property OnTLSIncomingAlert: TTLSAlertEvent read FOnIncomingAlert write SetOnIncomingAlert;
Fires when this endpoint receives an alert from the peer (e.g. a fatal handshake failure or close_notify). Hook it to log or react to peer-signalled errors; the handler can inspect the code and whether it is fatal. A received close_notify is reported with Fatal = False at either level. On TLS 1.3 a received error alert is fatal whatever its level (RFC 8446 section 6); user_canceled is reported non-fatal and the consumer decides whether to close.