TlsError.init if no error occurred.DtlsEngine.lastError
TlsError lastError() @propertyThe typed error for the most recent TlsProgress.ERROR returned by this engine's operations.
Engine operations (handshake, processDatagram, checkTimers, flush) never throw for TLS failures; the details — alert, certificate failure, or internal error — are always available here, mirroring TlsStream.lastError in the TLS API.
Returns
The last error, or