Exception: DefraRuby::CompaniesHouse::ApiTimeoutError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/defra_ruby/companies_house/api.rb

Overview

Custom error classes to handle Companies House API errors

Instance Method Summary collapse

Instance Method Details

#messageObject



16
17
18
# File 'lib/defra_ruby/companies_house/api.rb', line 16

def message
  I18n.t(".defra_ruby.companies_house.errors.timeout")
end