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

Contextual information for DSLException #55

Closed
mathbagu opened this issue Oct 16, 2020 · 1 comment
Closed

Contextual information for DSLException #55

mathbagu opened this issue Oct 16, 2020 · 1 comment

Comments

@mathbagu
Copy link
Contributor

  • Do you want to request a feature or report a bug?
    Bug

  • What is the current behavior?
    When this DSL is not well filled by a user, exceptions are thrown. The message give the field that is not set or invalid, but some contextual information is missing. For instance, staticId or parameterSetId are used for all models and it would be helpful to give more information, for instance the class name (CurrentLimitAutomaton::staticId), and if possible the line number in the script (I don't know if it's possible or not).

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  • What is the expected behavior?
    Have more information when there is an error in the DSL

  • What is the motivation / use case for changing the behavior?
    Have a more user-friendly software

  • Please tell us about your environment:

    • PowSyBl Version: ...
    • OS Version: ...
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)

(if a question doesn't apply, you can delete it)

@flo-dup
Copy link
Contributor

flo-dup commented Sep 9, 2024

Checks done in the builders beforehand and results reported.

@flo-dup flo-dup closed this as completed Sep 9, 2024
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

No branches or pull requests

2 participants