That is an awful default error for validating the type. The program knows it failed to parse as an Int but doesn't tell you anything about that.
Error: The value 'ZZZ' is invalid for '<high-value>' of type Int
Also, the help should automatically tell you the expected types as well.
ARGUMENTS: <high-value>: Int The highest value to pick.
That is an awful default error for validating the type. The program knows it failed to parse as an Int but doesn't tell you anything about that.
Error: The value 'ZZZ' is invalid for '<high-value>' of type Int
Also, the help should automatically tell you the expected types as well.
ARGUMENTS: <high-value>: Int The highest value to pick.