Exception: Streambird::Api::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/streambird/api/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "There's an issue connecting to Streambird's servers. Please check you're connected to the internet, and try again.'", status_code = nil) ⇒ ConnectionError

Returns a new instance of ConnectionError.



34
35
36
# File 'lib/streambird/api/errors.rb', line 34

def initialize(message = "There's an issue connecting to Streambird's servers. Please check you're connected to the internet, and try again.'", status_code = nil)
  super(message, status_code)
end