|
| 1 | +--- |
| 2 | +title: Errors |
| 3 | +parent: API |
| 4 | +has_children: false |
| 5 | +nav_order: 4 |
| 6 | +--- |
| 7 | + |
| 8 | +# CSV interface errors documentation |
| 9 | +{: .fs-9 } |
| 10 | + |
| 11 | +This section describes the custom errors whose components are returned by the parser in the `errNumber`, `errSource` and `errDescription` properties. Please note that VBA-specific errors may occur during operations, the documentation of which is provided by Microsoft. |
| 12 | + |
| 13 | +<table> |
| 14 | +<thead> |
| 15 | +<tr> |
| 16 | +<th style="text-align: left;">Error number</th> |
| 17 | +<th style="text-align: left;">Error description</th> |
| 18 | +<th style="text-align: left;">Error source</th> |
| 19 | +</tr> |
| 20 | +</thead> |
| 21 | +<tbody> |
| 22 | +<tr> |
| 23 | +<td style="text-align: left;"><em>-2147212498</em></td> |
| 24 | +<td style="text-align: left;">Missing some escape char. Check the data and try again. [Review the record #?, field #? on the source CSV file/string].</td> |
| 25 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 26 | +</tr> |
| 27 | +<tr> |
| 28 | +<td style="text-align: left;"><em>-2147212497</em></td> |
| 29 | +<td style="text-align: left;">The config object has an invalid Dynamic Typing Template (DTT). The number of Dynamic Typing Links (DTL) must be less or equal than the number of Dynamic Typing Targets Fields (DTTF) defined.</td> |
| 30 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 31 | +</tr> |
| 32 | +<tr> |
| 33 | +<td style="text-align: left;"><em>-2147212496</em></td> |
| 34 | +<td style="text-align: left;">The config object is not linked to a CSV file. Ensure set the path property to valid CSV before import data.</td> |
| 35 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 36 | +</tr> |
| 37 | +<tr> |
| 38 | +<td style="text-align: left;"><em>-2147212494</em></td> |
| 39 | +<td style="text-align: left;">The CSV file/String has no significant data. This can occur when the file/String has only empty or commented lines that can be omitted.</td> |
| 40 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 41 | +</tr> |
| 42 | +<tr> |
| 43 | +<td style="text-align: left;"><em>-2147212493</em></td> |
| 44 | +<td style="text-align: left;">The specified source CSV/String is empty. Please check and try again.</td> |
| 45 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 46 | +</tr> |
| 47 | +<tr> |
| 48 | +<td style="text-align: left;"><em>-2147212492</em></td> |
| 49 | +<td style="text-align: left;">[CSV file Export]: The passed argument isn't an array or a ECPArrayList object.</td> |
| 50 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 51 | +</tr> |
| 52 | +<tr> |
| 53 | +<td style="text-align: left;"><em>-2147212491</em></td> |
| 54 | +<td style="text-align: left;">[CSV file subset]: The specified CSV file is empty. No subset can be processed.</td> |
| 55 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 56 | +</tr> |
| 57 | +<tr> |
| 58 | +<td style="text-align: left;"><em>-2147212490</em></td> |
| 59 | +<td style="text-align: left;">[CSV file subset]: The given path name is an empty string or the specified CSV file does not exist in the supplied path.</td> |
| 60 | +<td style="text-align: left;">CSVinterface Class.</td> |
| 61 | +</tr> |
| 62 | +</tbody> |
| 63 | +</table> |
0 commit comments