better error message

This commit is contained in:
vaclavt 2022-05-23 19:28:33 +02:00
parent 4074c541c3
commit f3a43fdafc
1 changed files with 1 additions and 1 deletions

2
row.h
View File

@ -171,7 +171,7 @@ public:
case 5:
return (ColValue &) *std::get_if<ColBooleanValue>(&m_columns[i]);
default:
throw Exception("should not happen");
throw Exception("ColValue &operator[](int i), type index invalid :" + std::to_string(type_index));
}
}