Exception: NexusCli::CreateUserException
- Inherits:
-
NexusCliError
- Object
- StandardError
- NexusCliError
- NexusCli::CreateUserException
- Defined in:
- lib/nexus_cli/errors.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ CreateUserException
constructor
A new instance of CreateUserException.
- #message ⇒ Object
Methods inherited from NexusCliError
Constructor Details
#initialize(body) ⇒ CreateUserException
Returns a new instance of CreateUserException.
154 155 156 |
# File 'lib/nexus_cli/errors.rb', line 154 def initialize(body) @server_response = JSON.pretty_generate(JSON.parse(body)) end |
Instance Method Details
#message ⇒ Object
158 159 160 161 |
# File 'lib/nexus_cli/errors.rb', line 158 def %{Your create user command failed due to the following: #{@server_response}} end |