Exception: NexusCli::NexusHTTP404
- Inherits:
-
NexusCliError
- Object
- StandardError
- NexusCliError
- NexusCli::NexusHTTP404
- Defined in:
- lib/nexus_cli/errors.rb
Instance Method Summary collapse
-
#initialize(body) ⇒ NexusHTTP404
constructor
A new instance of NexusHTTP404.
- #message ⇒ Object
Methods inherited from NexusCliError
Constructor Details
#initialize(body) ⇒ NexusHTTP404
Returns a new instance of NexusHTTP404.
249 250 251 |
# File 'lib/nexus_cli/errors.rb', line 249 def initialize(body) @server_response = body end |
Instance Method Details
#message ⇒ Object
253 254 255 256 |
# File 'lib/nexus_cli/errors.rb', line 253 def %{Your command failed and the server returned an error code. The output of the response was: #{@server_response}} end |