Exceptions

exception flextls.exception.NotEnoughData[source]

Not enough data to decode the next record or field.

exception flextls.exception.WrongProtocolVersion(msg=None, record=None, protocol_version=None)[source]

Raised during a connection if the server/client returns a wrong protocol version.

Parameters:
  • msg (String) – Message
  • record (flextls.protocol.Protocol) – The decoded record
  • protocol_version (Integer) – Internal ID of the expected protocol version