Type

error

An error, with librdkafka's own classification attached.

The three predicates are not derivable from code: the same code can be retriable in one context and fatal in another, so they are reported per occurrence exactly as rd_kafka_error_t does. Branch on these, not on the code, when deciding whether to retry, abort a transaction, or rebuild the client.

type error = error;