Skip to content

Commit 3f01b0b

Browse files
authored
Improve error message on bad datatype combination. (#595)
1 parent cafd40e commit 3f01b0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

datashuttle/utils/data_transfer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ def check_input_arguments(
397397
[name in ["all", "all_datatype"] for name in self.datatype]
398398
):
399399
utils.log_and_raise_error(
400-
"'datatype' must only include 'all' "
401-
"or 'all_datatype' if these options are used.",
400+
"If either `all` or `all_datatype` is selected for datatype, "
401+
"it must be the only selected option.",
402402
ValueError,
403403
)
404404

0 commit comments

Comments
 (0)