If there is an error during execution and resources where created before, those should be deleted before throwing the error to leave a clean state.
For example, the user selects create new project which creates a new Console Project, a Stage Workspace and enables Runtime on the Production and Stage Workspace, now suppose there is an error when creating the Stage Workspace, then the User will be left with a partially created Project in Console that would need manual deltion
If there is an error during execution and resources where created before, those should be deleted before throwing the error to leave a clean state.
For example, the user selects
create new projectwhich creates a new Console Project, a Stage Workspace and enables Runtime on the Production and Stage Workspace, now suppose there is an error when creating the Stage Workspace, then the User will be left with a partially created Project in Console that would need manual deltion