Skip to main content

Exit codes used by ComputeSphere

Exit codes used by ComputeSphere

The CLI uses exit codes to indicate the success or failure of a command. The normal convention is used:

  • 0: The command completed successfully.
  • 1: The command failed due to an error.
  • 2: The command failed due to invalid input.
  • 3: The command failed due to a network error.
  • 4: The command failed due to an authentication error.

Examples​

$ csph project list
$ echo $?

See also​