Exception: HighLine::CustomErrors::ExplainableError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/highline/custom_errors.rb

Overview

An error that responds to :explanation_key

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.



12
13
14
# File 'lib/highline/custom_errors.rb', line 12

def explanation_key
  nil
end