Enumeration

ValentPacketError

unstable since: 1.0

Declaration

error-domain Valent.PacketError

Description [src]

Error enumeration for KDE Connect packet validation.

This enumeration can be extended at later date.

Available since: 1.0

Members

VALENT_PACKET_ERROR_UNKNOWN

An unknown error.

  • Value: 0
  • Nickname: None
  • Available since: 1.0
VALENT_PACKET_ERROR_INVALID_DATA

The packet is NULL or not JSON.

  • Value: 1
  • Nickname: None
  • Available since: 1.0
VALENT_PACKET_ERROR_MALFORMED

The packet structure is malformed.

  • Value: 2
  • Nickname: None
  • Available since: 1.0
VALENT_PACKET_ERROR_INVALID_FIELD

An expected field holds an invalid type.

  • Value: 3
  • Nickname: None
  • Available since: 1.0
VALENT_PACKET_ERROR_MISSING_FIELD

An expected field is missing.

  • Value: 4
  • Nickname: None
  • Available since: 1.0