Skip to content

Adding ErrorCode.StopExecution#780

Merged
erikvansebille merged 2 commits intomasterfrom
errorcode_stopexecution
Apr 2, 2020
Merged

Adding ErrorCode.StopExecution#780
erikvansebille merged 2 commits intomasterfrom
errorcode_stopexecution

Conversation

@erikvansebille
Copy link
Copy Markdown
Member

Adding an ErrorCode that break the pset.execute() loop, as requested in #779.

To use, add the following to a Kernel

return ErrorCode.StopExecution

Adding an ErrorCode that break the pset.execute() loop, as requested in #779
Copy link
Copy Markdown
Contributor

@CKehl CKehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, nice short-and-simple integration of the functionality request in #779 . Personally, I still would prefer to shift the stopping flag due to it's function, because all the codes after 'Error' are actually ErrorCodes while all flugs up to 'Error' are more status flags. But that is up to your liking to change it or leave it. Functionally, it all looks good.

@erikvansebille erikvansebille merged commit a9784a9 into master Apr 2, 2020
@CKehl CKehl deleted the errorcode_stopexecution branch June 1, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants