Exception: PrivateCaptcha::VerificationFailedError
- Defined in:
- lib/private_captcha/errors.rb
Overview
VerificationFailedError is raised when verification fails after all retry attempts
Instance Attribute Summary collapse
-
#attempts ⇒ Object
readonly
Returns the value of attribute attempts.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message, attempts, trace_id: nil) ⇒ VerificationFailedError
constructor
A new instance of VerificationFailedError.
Constructor Details
#initialize(message, attempts, trace_id: nil) ⇒ VerificationFailedError
Returns a new instance of VerificationFailedError.
57 58 59 60 |
# File 'lib/private_captcha/errors.rb', line 57 def initialize(, attempts, trace_id: nil) @attempts = attempts super(, trace_id: trace_id) end |
Instance Attribute Details
#attempts ⇒ Object (readonly)
Returns the value of attribute attempts.
55 56 57 |
# File 'lib/private_captcha/errors.rb', line 55 def attempts @attempts end |