As in “try-except”, how to check if error but “revert” if found?

后端 未结 0 1039
温柔的废话
温柔的废话 2020-12-06 03:14

I\'d like to check if a block of the code has an unspecified error, and if any error is found I\'d like to revert/remove all the changes that block code made (change of vari

相关标签:
回答
  • 消灭零回复
提交回复
热议问题