Exception: HighLine::CustomErrors::NotValidQuestionError

Inherits:
ExplainableError show all
Defined in:
lib/highline/custom_errors.rb

Overview

Invalid Question error

Instance Method Summary collapse

Instance Method Details

#explanation_keynil, Symbol

Explanation key as Symbol or nil. Used to select the proper error message to be displayed.

Returns:

  • (nil, Symbol)

    explanation key to get the proper error message.



28
29
30
# File 'lib/highline/custom_errors.rb', line 28

def explanation_key
  :not_valid
end