Skip to content
Gilbert Chen edited this page Mar 7, 2020 · 6 revisions

All Duplicacy commands return 0 when successful, otherwise non-zero. The specific non-zero codes are:

  • 1: the command was interrupted by user
  • 2: the command arguments are malformed
  • 3: invalid value for a command argument
  • 100: the command encountered an error in the Duplicacy code (most run-time errors, including those from failed connections, will emit this exit code)
  • 101: the command encountered an error in a dependency library used by Duplicacy