class TTTLS13::Error::ErrorAlerts
Raised on received Error
Alerts message or invalid message. tools.ietf.org/html/rfc8446#section-6.2 Terminated the connection, so you cannot recover from this exception.
Public Instance Methods
to_alert()
click to toggle source
@return [TTTLS13::Message::Alert]
# File lib/tttls1.3/error.rb, line 17 def to_alert Message::Alert.new(description: ALERT_DESCRIPTION[message.to_sym]) end