mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Better error reporting on missing type info
This commit is contained in:
parent
ef47b4582e
commit
a48f358555
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user