rohd
rohd copied to clipboard
Fix bugs in Simulator error handling and end of simulation
Description & Motivation
There were cases where an error could occur during simulation and the simulation would not indicate that it had ended. This PR fixes those bugs and adds tests to cover those scenarios.
For example:
- A registered action throws
- Something calls
Simulator.throwException
- An end of simulation action throws
Related Issue(s)
N/A
Testing
Added new tests
Backwards-compatibility
Is this a breaking change that will not be backwards-compatible? If yes, how so?
No
Documentation
Does the change require any updates to documentation? If so, where? Are they included?
No