Exception: NexusCli::UpdateUserException
- Inherits:
-
NexusCliError
- Object
- StandardError
- NexusCliError
- NexusCli::UpdateUserException
- Defined in:
- lib/nexus_cli/errors.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ UpdateUserException
constructor
A new instance of UpdateUserException.
- #message ⇒ Object
Methods inherited from NexusCliError
Constructor Details
#initialize(body) ⇒ UpdateUserException
Returns a new instance of UpdateUserException.
177 178 179 |
# File 'lib/nexus_cli/errors.rb', line 177 def initialize(body) @server_response = JSON.pretty_generate(JSON.parse(body)) end |
Instance Method Details
#message ⇒ Object
181 182 183 184 |
# File 'lib/nexus_cli/errors.rb', line 181 def %{Your update user command failed due to the following: #{@server_response}} end |