Exception: DeathByCaptcha::APIResponseError

Inherits:
Error
  • Object
show all
Defined in:
lib/deathbycaptcha/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(info) ⇒ APIResponseError

Returns a new instance of APIResponseError.


34
35
36
# File 'lib/deathbycaptcha/exceptions.rb', line 34

def initialize(info)
  super("Invalid API response: #{info}")
end