Exception: KPM::NexusFacade::UnexpectedStatusCodeException
- Inherits:
-
StandardError
- Object
- StandardError
- KPM::NexusFacade::UnexpectedStatusCodeException
- Defined in:
- lib/kpm/nexus_helper/nexus_api_calls_v2.rb
Instance Method Summary collapse
-
#initialize(code) ⇒ UnexpectedStatusCodeException
constructor
A new instance of UnexpectedStatusCodeException.
- #message ⇒ Object
Constructor Details
#initialize(code) ⇒ UnexpectedStatusCodeException
Returns a new instance of UnexpectedStatusCodeException.
9 10 11 |
# File 'lib/kpm/nexus_helper/nexus_api_calls_v2.rb', line 9 def initialize(code) @code = code end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/kpm/nexus_helper/nexus_api_calls_v2.rb', line 13 def "The server responded with a #{@code} status code which is unexpected." end |