Skip to content

Commit

Permalink
rasing correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
iamalisalehi authored Jul 24, 2024
1 parent c422252 commit 4385720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pick/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __post_init__(self) -> None:
)

if all(isinstance(option, Option) and option.enabled == False for option in self.options):
raise NotImplementedError(
raise ValueError(
"all given options are disabled, you must at least have one enabled option."
)

Expand Down

0 comments on commit 4385720

Please sign in to comment.