Exception: DeathByCaptcha::Errors::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/deathbycaptcha/error.rb

Overview

Custom Error class for rescuing from DeathByCaptcha API errors

Direct Known Subclasses

AccessDenied, CallError, NotImplemented

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Error

Returns a new instance of Error.



10
11
12
# File 'lib/deathbycaptcha/error.rb', line 10

def initialize(message)
  super("#{message} (DEATHBYCAPTCHA API ERROR)")
end