lib/nexus_cli/errors.rb in nexus_cli-3.0.0 vs lib/nexus_cli/errors.rb in nexus_cli-4.0.0.beta1
- old
+ new
@@ -22,15 +22,15 @@
end
status_code(101)
end
class InvalidSettingsException < NexusCliError
- def initialize(key)
- @missing_setting = key
+ def initialize(errors)
+ @errors = errors
end
def message
- "The .nexus_cli file or your overrides are missing the value: #{@missing_setting}"
+ "Your configuration has an error: #{@errors}"
end
status_code(102)
end
class MissingSettingsFileException < NexusCliError
\ No newline at end of file