Exception: Rubychy::Errors::ServiceUnavailableError
- Inherits:
-
StandardError
- Object
- StandardError
- Rubychy::Errors::ServiceUnavailableError
- Defined in:
- lib/rubychy.rb
Overview
Error returned when Rubychy API Service is unavailable
Instance Method Summary collapse
-
#initialize(status_code) ⇒ ServiceUnavailableError
constructor
A new instance of ServiceUnavailableError.
Constructor Details
#initialize(status_code) ⇒ ServiceUnavailableError
Returns a new instance of ServiceUnavailableError.
55 56 57 |
# File 'lib/rubychy.rb', line 55 def initialize(status_code) super("Rubychy API Service unavailable (HTTP error code #{status_code})") end |