Enumeration

ValentPacketError

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

Name Description
VALENT_PACKET_ERROR_UNKNOWN

An unknown error.

VALENT_PACKET_ERROR_INVALID_DATA

The packet is NULL or not JSON.

VALENT_PACKET_ERROR_MALFORMED

The packet structure is malformed.

VALENT_PACKET_ERROR_INVALID_FIELD

An expected field holds an invalid type.

VALENT_PACKET_ERROR_MISSING_FIELD

An expected field is missing.