
All transaction rollback errors have an sql_state like "40XXX". So, when an error reply is received we check for that and act accordingly.
All transaction rollback errors have an sql_state like "40XXX". So, when an error reply is received we check for that and act accordingly.