Skip to content

Commit

Permalink
Fix error message (#414)
Browse files Browse the repository at this point in the history
* Better express what is wrong
  • Loading branch information
jodastephen authored Nov 7, 2024
1 parent cdbcc27 commit fea5938
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private Object parseIterableTable(List<?> input, SerIterable iterable) {

private Object parseIterableGrid(List<?> input, SerIterable iterable) {
if (input.size() < 2) {
throw new IllegalArgumentException("Expected grid iterable to be size 3");
throw new IllegalArgumentException("Expected grid iterable to be at least size 2");
}
var rows = (Integer) input.get(0);
var columns = (Integer) input.get(1);
Expand Down

0 comments on commit fea5938

Please sign in to comment.