rconn: New function rconn_get_last_error().