Good news. This code:try:
arcpy.ReconcileVersion_management(SdeGDB, VersionName, "sde.DEFAULT", "BY_ATTRIBUTE", "FAVOR_TARGET_VERSION", "#", "ABORT_CONFLICTS", "POST")
except Exception, inst:
print "RECONCILE FAILED:\n", inst
else:
CleanUpVersion()
Yields this output:Reconcile failed:
ERROR 000084: Conflicts detected, aborting the reconcile.
ERROR 000533: The version cannot be posted to the reconcile version. Reconcile must be performed before the post operation has been done.
Failed to execute (ReconcileVersion).
So an exception is in fact raised. Yay for me! The only bad news is that the tool wouldn't accept either documented value for the "acquire_locks" parameter. I skipped the parameter altogether and that suited my purpose just fine.