Exception: Decaptcher::SolveError
- Inherits:
-
Exception
- Object
- Exception
- Decaptcher::SolveError
- Defined in:
- lib/decaptcher.rb
Overview
exceptions
Instance Method Summary collapse
-
#initialize(errmsg) ⇒ SolveError
constructor
A new instance of SolveError.
- #message ⇒ Object
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
#message ⇒ Object
83 84 85 |
# File 'lib/decaptcher.rb', line 83 def "An error has occured: #{@errmsg}" end |