enum

Beryl::TLS::AlertLevel

Inherits Enum < Comparable < Value < Object

The alert levels (RFC 9846 ยง6).

Constants

Warning = 1_u8
Fatal = 2_u8

Instance methods

fatal?

Returns true if this enum value equals Fatal

Source
warning?

Returns true if this enum value equals Warning

Source