class NexusCli::BadSettingsException

Public Class Methods

new(body) click to toggle source
# File lib/nexus_cli/errors.rb, line 97
def initialize(body)
  @server_response = JSON.pretty_generate(JSON.parse(body))
end

Public Instance Methods

message() click to toggle source
# File lib/nexus_cli/errors.rb, line 101
    def message
      %{Your global_settings.json file is malformed and could not be uploaded to Nexus.
The output from the server was:
#{@server_response}}
    end