lib/nexus_cli/errors.rb in nexus_cli-0.0.4 vs lib/nexus_cli/errors.rb in nexus_cli-0.0.5

- old
+ new

@@ -36,6 +36,13 @@ def message "The .nexus_cli file is missing or corrupt." end status_code(103) end + + class NonSecureConnectionException < NexusCliError + def message + "Your communication with a server using an SSL certificate failed during validation. You may want to try the --insecure option." + end + status_code(104) + end end \ No newline at end of file