Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover from exceptions in step #16

Open
AntoinePrv opened this issue Mar 5, 2020 · 0 comments
Open

Recover from exceptions in step #16

AntoinePrv opened this issue Mar 5, 2020 · 0 comments
Labels
type/enhancement 🚀 New feature or request

Comments

@AntoinePrv
Copy link
Member

When the user pass a wrong action to Environment::step, the environment needs to be reset.
However, when using the environment interactively, it would be more natural that wrong value are rejected, but that the user could still try to pass other values.

This requires either rolling back on exception, or checking action value at the start of step before attempting to step_state.

@AntoinePrv AntoinePrv added the type/enhancement 🚀 New feature or request label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant