Error codes
The following error codes may help you to troubleshoot problems that arise when running MI Toolbox plug-ins from the command line.
| Code | Description |
|---|---|
| 0 | Success - Indicates successful execution of the MI Toolbox console application. |
| 1 | Unspecified error - Indicates that an unspecified error was encountered. |
| 2 | Unhandled exception - Indicates that an unhandled exception was caught. |
| 3 | Invalid command-line option value - Indicates a problem with one of the specified command-line options (for example, an option specifies a table or record that does not exist). |
| 4 | Syntax error in command-line option - Indicates a basic syntax error with one of the specified command-line options. |
| 5 | Could not load plugin - Indicates that the named plugin could not be loaded. |
| 6 | Plugin initialization error - Indicates an error during the initialization phase of the plugin, typically caused when trying to validate an option against data in a database (for example, a database specified by a particular dbkey may not exist). |
| 7 | Cannot open the log file - Indicates that the log file could not be opened. |
| 8 | Plugin found no work to do - Indicates that the plugin initialization found nothing to import/export |
| 1100 | Failed to establish a connection to an MI Server - Indicates that a connection to an MI Server instance could not be established. |
| 1110 | No default database available - Indicates that the server does not have a default database, or the default database is unavailable. |
| 1111 | No such database - Indicates that the specified database does not exist on the server, or is otherwise unavailable (for example, due to access control). |
| 1112 | Failed to retrieve database - Indicates that the specified database could not be retrieved from the server. |
| 1120 | No such record - Indicates that the record does not exist on the server, or is otherwise unavailable (for example, due to access control). |
| 1121 | Failed to retrieve record - Indicates that the specified record could not be obtained from the server. |
| 1122 | Multiple records matched - Indicates that multiple matching records have been found that satisfy criteria intended to identify a single record. |
| 1130 | No such subset - Indicates that the one or more specified subsets do not exist or are otherwise unavailable on the server (for example, due to access control). |
| 1140 | No default table - Indicates that the database does not contain a default table, or the default table is otherwise unavailable (for example, due to access control). |
| 1141 | No such table - Indicates that the database does not contain a default table, or the default table is otherwise unavailable (for example, due to access control). |