Check for error codes coming out of fdb_transaction_add_conflict_range and throw the corresponding exception.