Replies: 1 comment
-
The closest to this would probably be listening to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Between
creating
andcreated
there is a quite big block of code that could go wrong. Database connections could be lost, integrity constrains could be violated, etc. I am wondering if it might be a good idea to add acreation-error
event that happens if any exception is raised in that block. This way: If I want to set an initial condition in thecreating
block (like creating a lock on something) I could "safely" revert that condition in case creation failed.Beta Was this translation helpful? Give feedback.
All reactions