| 39 | |
| 40 | namespace { |
| 41 | libmexclass::error::Error makeEmptyTableError() { |
| 42 | const std::string error_msg = |
| 43 | "Numeric indexing using the column method is not supported for tables with no " |
| 44 | "columns."; |
| 45 | return libmexclass::error::Error{error::TABLE_NUMERIC_INDEX_WITH_EMPTY_TABLE, |
| 46 | error_msg}; |
| 47 | } |
| 48 | |
| 49 | libmexclass::error::Error makeInvalidNumericIndexError(const int32_t matlab_index, |
| 50 | const int32_t num_columns) { |