Exception: NexusCli::CreateRepsitoryException
- Inherits:
-
NexusCliError
- Object
- StandardError
- NexusCliError
- NexusCli::CreateRepsitoryException
- Defined in:
- lib/nexus_cli/errors.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ CreateRepsitoryException
constructor
A new instance of CreateRepsitoryException.
- #message ⇒ Object
Methods inherited from NexusCliError
Constructor Details
#initialize(body) ⇒ CreateRepsitoryException
Returns a new instance of CreateRepsitoryException.
110 111 112 |
# File 'lib/nexus_cli/errors.rb', line 110 def initialize(body) @server_response = JSON.pretty_generate(JSON.parse(body)) end |
Instance Method Details
#message ⇒ Object
114 115 116 117 |
# File 'lib/nexus_cli/errors.rb', line 114 def %{Your create repository command failed due to the following: #{@server_response}} end |