Better error reporting on missing type info

This commit is contained in:
Jason Turner 2018-04-01 11:06:48 -06:00
parent ef47b4582e
commit a48f358555

View File

@ -731,7 +731,7 @@ namespace chaiscript
}
if (t_throw) {
throw std::range_error("Type Not Known");
throw std::range_error("Type Not Known: " + name);
} else {
return Type_Info();
}