Class: Justimmo::API::Query::RetrievalFailed

Inherits:
JustimmoError
  • Object
show all
Defined in:
lib/justimmo/api/v1/query.rb

Overview

Raised when retrieval from the API fails.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ RetrievalFailed


20
21
22
# File 'lib/justimmo/api/v1/query.rb', line 20

def initialize(message)
  super("Failed to get data from the API: #{message}")
end