Command-line exit codes

The table provides a list of exit codes returned by the /formatsql command.

Exit code Description Additional information
0 Success Indicates that the operation has been completed without errors.
1 Unhandled exception Indicates that an unhandled exception occurred. See the log for more details.
10 Command-line usage error Indicates that the syntax doesn’t match the expected command format.
11 Illegal argument duplication Indicates that the same command-line argument was specified more than once.
20 Trial expired Indicates that the trial period has expired, or the product has not been activated.
40 Server connection failed Indicates that dbForge Studio could not connect to the specified server.
104 High-level parser error Indicates that high-level errors were encountered while parsing a script folder.
105 Resource unavailable Indicates that a required file is missing.
106 I/O error Indicates that dbForge Studio attempted to write to a file that already exists.

For more information about the /formatsql command, see Format code from the command line.