We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 188890c commit 94b9bfdCopy full SHA for 94b9bfd
impeller/archivist/archive_class_registration.cc
@@ -8,6 +8,7 @@
8
9
#include "impeller/archivist/archive_database.h"
10
#include "impeller/archivist/archive_statement.h"
11
+#include "impeller/base/validation.h"
12
13
namespace impeller {
14
@@ -39,6 +40,9 @@ std::optional<size_t> ArchiveClassRegistration::FindColumnIndex(
39
40
const std::string& member) const {
41
auto found = column_map_.find(member);
42
if (found == column_map_.end()) {
43
+ VALIDATION_LOG << "No member named '" << member << "' in class '"
44
+ << definition_.table_name
45
+ << "'. Did you forget to register it?";
46
return std::nullopt;
47
}
48
return found->second;
0 commit comments