mirror of
https://github.com/loot/yaml-cpp.git
synced 2026-07-27 14:13:42 -07:00
Added a templated derived exception to KeyNotFound so that you can figure out *which* key wasn't found.
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ namespace YAML
|
||||
}
|
||||
}
|
||||
|
||||
throw KeyNotFound(m_line, m_column);
|
||||
throw MakeTypedKeyNotFound(m_line, m_column, key);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user