Exception: PrivateCaptcha::EmptySolutionError

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

Overview

EmptySolutionError is raised when the solution is not provided or is empty

Instance Attribute Summary

Attributes inherited from Error

#trace_id

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'solution is empty', trace_id: nil) ⇒ EmptySolutionError

Returns a new instance of EmptySolutionError.



23
24
25
# File 'lib/private_captcha/errors.rb', line 23

def initialize(msg = 'solution is empty', trace_id: nil)
  super
end