\brief Description of an invalid row
| 25 | |
| 26 | /// \brief Description of an invalid row |
| 27 | struct InvalidRow { |
| 28 | /// \brief Number of columns expected in the row |
| 29 | int32_t expected_columns; |
| 30 | /// \brief Actual number of columns found in the row |
| 31 | int32_t actual_columns; |
| 32 | /// \brief The physical row number if known or -1 |
| 33 | /// |
| 34 | /// This number is one-based and also accounts for non-data rows (such as |
| 35 | /// CSV header rows). |
| 36 | int64_t number; |
| 37 | /// \brief View of the entire row. Memory will be freed after callback returns |
| 38 | const std::string_view text; |
| 39 | }; |
| 40 | |
| 41 | /// \brief Result returned by an InvalidRowHandler |
| 42 | enum class InvalidRowResult { |
no outgoing calls