presto-kafka/src/main/java/io/prestosql/plugin/kafka/KafkaErrorCode.java/KafkaErrorCode/toErrorCode
class KafkaErrorCode:    @Override
    public ErrorCode toErrorCode()
    {
        return errorCode;
    }