Skip to content

Handling of invalid inputs #32

@aalfons

Description

@aalfons

There are different ways we could handle errors due to invalid inputs:

  1. We could catch them when we click the button (for example to run ROBMED) and then have a pop-up message to instruct users what to change.
  2. We could catch invalid inputs on the fly and deactivate the button to prevent such errors in the first place.

Option 1 is easier to implement, but I'm in favor of option 2 because it's cleaner. I think it's less confusing to prevent issues before the user clicks the button. In addition, for the Model tab, we don't have a button to click, but we still need to prevent errors when more than 3 serial mediators are selected (which are not supported, see #31).

What should we do and should we best implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions