summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 458a402)
raw | patch | inline | side by side (parent: 458a402)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Jun 2007 16:51:06 +0000 (16:51 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 13 Jun 2007 16:51:06 +0000 (16:51 +0000) |
program/bindings/ruby/main.c | patch | blob | history |
index 32bd8cffd182c1b715d813e981a04bb96d7fd735..aa082dda0caf439d9a5a21f4a9f0f4e16e25e9e3 100644 (file)
a.strings[i + 1] = strdup(buf);
break;
default:
- rb_raise(rb_eTypeError, "invalid argument");
+ rb_raise(rb_eTypeError, "invalid argument - %s, expected T_STRING or T_FIXNUM on index %d", rb_class2name(CLASS_OF(v)), i);
break;
}
}