Errors

quiet_error

typedef enum {

    quiet_success,

    quiet_mem_fail,

    quiet_encoder_bad_config,

    quiet_profile_malformed_json,

    quiet_profile_missing_key,

    quiet_profile_invalid_profile,

    quiet_msg_size,

    quiet_would_block,

    quiet_timedout,

    quiet_io

} quiet_error;

quiet_success

quiet_mem_fail

quiet_encoder_bad_config

quiet_profile_malformed_json

quiet_profile_missing_key

quiet_profile_invalid_profile

quiet_msg_size

quiet_would_block

quiet_timedout

quiet_io

quiet_get_last_error

quiet_error

quiet_get_last_error();

quiet_get_last_error retrieves the last error set. If libquiet was compiled with pthread, then this error will be specific to the thread where this is called.