4 #include <swarmio/data/Variant.pb.h> uint32_t _actualCount
The actual count of the variant array.
Exception thrown when the count of a fixed array does not match the count of the variant array...
Exception thrown when the schema does not match the variant.
uint32_t actual_count() const
Get the actual count of the variant array.
CountMismatchException(const char *message, const std::string &location, uint32_t expectedCount, uint32_t actualCount)
Constructor.
uint32_t expected_count() const
Get the expected count of the variant array.
const char * location() const
Get the location of the mismatch.
uint32_t _expectedCount
The expected count of the variant array.