Exception: Noise::Exceptions::MessageTooLongError
- Inherits:
-
StandardError
- Object
- StandardError
- Noise::Exceptions::MessageTooLongError
- Defined in:
- lib/noise/exceptions/message_too_long_error.rb
Overview
Raised when a transport message would exceed, or does exceed, the 65535 byte limit the Noise specification places on every message. Kept apart from DecryptError so that a caller can tell a badly framed message from a failed authentication, which has very different security meaning.