Exception: Speq::QuestionError
- Inherits:
-
StandardError
- Object
- StandardError
- Speq::QuestionError
- Defined in:
- lib/speq/question.rb
Overview
Error class for Question
Instance Method Summary collapse
-
#initialize(question_name, error) ⇒ QuestionError
constructor
A new instance of QuestionError.
Constructor Details
#initialize(question_name, error) ⇒ QuestionError
Returns a new instance of QuestionError.
8 9 10 |
# File 'lib/speq/question.rb', line 8 def initialize(question_name, error) super("#{question_name}: #{error}") end |