@brief Converts the system errno value \p errnox to a rd_kafka_resp_err_t
error code upon failure from the following functions:
- rd_kafka_topic_new()
- rd_kafka_consume_start()
- rd_kafka_consume_stop()
- rd_kafka_consume()
- rd_kafka_consume_batch()
- rd_kafka_consume_callback()
- rd_kafka_consume_queue()
- rd_kafka_produce()
@param errnox System errno value to convert
@returns Appropriate error code for \p errnox
@remark A better alternative is to call rd_kafka_last_error() immediately
after any of the above functions return -1 or NULL.
@brief Converts the system errno value \p errnox to a rd_kafka_resp_err_t error code upon failure from the following functions: - rd_kafka_topic_new() - rd_kafka_consume_start() - rd_kafka_consume_stop() - rd_kafka_consume() - rd_kafka_consume_batch() - rd_kafka_consume_callback() - rd_kafka_consume_queue() - rd_kafka_produce()
@param errnox System errno value to convert
@returns Appropriate error code for \p errnox
@remark A better alternative is to call rd_kafka_last_error() immediately after any of the above functions return -1 or NULL.
@sa rd_kafka_last_error()