CLI return codes for all commands
Table 1 lists the CLI return codes for all FTM SWIFT commands. For CLI response messages for internal and external commands, see Codes.
| Return code | Description |
|---|---|
| 0 | The command execution succeeded. |
| 1 | The command execution failed with a completion code that signals an error. |
| 2 | The CLI was able to send a request message. However, it did not get a response message within the specified time interval. |
| 3 | The CLI was not able to send a request message. |
| 4 | The initialization of the CLI failed. |
The value of the return code depends on the mode in which
the CLI runs:
- Single command mode
- The return code value of the specified command
- Multi-command mode
- The return code value of the last external command
- Command-file mode
- The return code value of the last external command that was executed