Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Nov 6, 2024
1 parent 99f6366 commit 883a0b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private Object parseIterableTable(Object input, SerIterable iterable) throws Exc
private Object parseIterableGrid(Object input, SerIterable iterable) throws Exception {
List<?> inputList = (List<?>) input;
if (inputList.size() < 2) {
throw new IllegalArgumentException("Expected counted iterable to be size 3");
throw new IllegalArgumentException("Expected counted iterable to be at least size 2");
}
Integer rows = (Integer) inputList.get(0);
Integer columns = (Integer) inputList.get(1);
Expand Down

0 comments on commit 883a0b6

Please sign in to comment.