mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Clarify invalid entity message
This commit is contained in:
@@ -455,7 +455,7 @@ namespace IfcParse {
|
||||
}
|
||||
std::vector<const declaration*>::const_iterator it = std::lower_bound(declarations_.begin(), declarations_.end(), *name_ptr, declaration_by_name_cmp());
|
||||
if (it == declarations_.end() || (**it).name_uc() != *name_ptr) {
|
||||
throw IfcParse::IfcException("Entity with '" + name + "' not found");
|
||||
throw IfcParse::IfcException("Entity with name '" + name + "' not found in schema '" + name_ + "'");
|
||||
} else {
|
||||
return *it;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user