(PECL rdkafka >= 0.9.1)
RdKafka\Message::errstr — Get the error as string
This a convenience method returning the error as a string.
This function has no parameters.
The error as a string
Example #1 RdKafka\Message::errstr() example
<?php
if ($message->err) {
echo $message->errstr(), "\n";
}
?>