Exception: Fabychy::Errors::ServiceUnavailableError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fabychy.rb,
lib/fabychy/user.rb

Overview

Error returned when fabychy API Service is unavailable

Instance Method Summary collapse

Constructor Details

#initialize(status_code) ⇒ ServiceUnavailableError

Returns a new instance of ServiceUnavailableError.



75
76
77
# File 'lib/fabychy.rb', line 75

def initialize(status_code)
  super("fabychy API Service unavailable (HTTP error code #{status_code})")
end