SocketParsableError

public enum SocketParsableError : Error

Errors that can be thrown during parsing.

Cases

  • Thrown when a packet received has an invalid data array, or is missing the data array.

    Declaration

    Swift

    case invalidDataArray
  • Thrown when an malformed packet is received.

    Declaration

    Swift

    case invalidPacket
  • Thrown when the parser receives an unknown packet type.

    Declaration

    Swift

    case invalidPacketType