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.
10 11 12 |
# File 'lib/kpm/nexus_helper/nexus_api_calls_v2.rb', line 10 def initialize(code) @code = code end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/kpm/nexus_helper/nexus_api_calls_v2.rb', line 14 def "The server responded with a #{@code} status code which is unexpected." end |