Exception: Decaptcher::SolveError

Inherits:
Exception
  • Object
show all
Defined in:
lib/decaptcher.rb

Overview

exceptions

Instance Method Summary collapse

Constructor Details

#initialize(errmsg) ⇒ SolveError

Returns a new instance of SolveError.



79
80
81
# File 'lib/decaptcher.rb', line 79

def initialize( errmsg )
  @errmsg = errmsg
end

Instance Method Details

#messageObject



83
84
85
# File 'lib/decaptcher.rb', line 83

def message
  "An error has occured: #{@errmsg}"
end