Make error message for create_study
's direction
easier to understand
#5806
Labels
code-fix
Change that does not change the behavior, such as code refactoring.
contribution-welcome
Issue that welcomes contribution.
Motivation
Users sometimes makes the mistake of passing the list of directions to the
direction
argument. The error message for this mistake is hard to understand what is the problem.Using
direction
instead ofdirections
Suggestion
We can make the error message more helpful for the mistake. It can be something like "for multi-objective optimization, using directions instead of direction".
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: