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

Improve Action Error Messages #164

Closed
TheCedarPrince opened this issue Sep 11, 2020 · 1 comment
Closed

Improve Action Error Messages #164

TheCedarPrince opened this issue Sep 11, 2020 · 1 comment
Labels
enhancement New feature or request error-handling Everything related to error and warnings thrown at the user

Comments

@TheCedarPrince
Copy link
Member

Is your feature request related to a problem? Please explain.

It can be difficult to track where an error is being thrown from the javis function when multiple actions are being tied together. Currently, if there is an error in javis the error handler says that there is an error within javis but not why it is being caused.

Describe the solution you'd like

It would be nice if I could have a traceback such that I can locate the specific Action that caused an error and perhaps even what part of the Action failed. Going deeper, after locating the Action, perhaps even the SubAction as well.

Describe alternatives you've considered

Commenting can work, but only so much. I'd rather have an intelligent and intelligible error message that can tell me why I am screwing up.

@TheCedarPrince TheCedarPrince added the enhancement New feature or request label Sep 11, 2020
@Wikunia
Copy link
Member

Wikunia commented Sep 11, 2020

I think implementing #100 will make this obsolete.
Then we would define actions outside the javis function and go the way that JuMP.jl is doing

@TheCedarPrince TheCedarPrince modified the milestone: v0.3.0 Sep 28, 2020
@Wikunia Wikunia added the error-handling Everything related to error and warnings thrown at the user label Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request error-handling Everything related to error and warnings thrown at the user
Projects
None yet
Development

No branches or pull requests

2 participants