Exception: ZeroCaptcha::APIResponseError

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

Instance Method Summary collapse

Constructor Details

#initialize(info) ⇒ APIResponseError

Returns a new instance of APIResponseError.



48
49
50
# File 'lib/zero_captcha/errors.rb', line 48

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