Exception: NexusCli::InvalidSettingsException

Inherits:
NexusCliError
  • Object
show all
Defined in:
lib/nexus_cli/errors.rb

Instance Method Summary collapse

Methods inherited from NexusCliError

status_code

Constructor Details

#initialize(errors) ⇒ InvalidSettingsException

Returns a new instance of InvalidSettingsException.



27
28
29
# File 'lib/nexus_cli/errors.rb', line 27

def initialize(errors)
  @errors = errors
end

Instance Method Details

#messageObject



31
32
33
# File 'lib/nexus_cli/errors.rb', line 31

def message
  "Your configuration has an error: #{@errors}"
end