# File lib/earthquake/input.rb, line 98 def handle_api_error(&block) result = block.call if result["error"] notify "[ERROR] #{result["error"]}" end end