class HighLine::CustomErrors::ExplainableError

An error that responds to :explanation_key

Public Instance Methods

explanation_key() click to toggle source

Explanation key as Symbol or nil. Used to select the proper error message to be displayed. @return [nil, Symbol] explanation key to get the

proper error message.
# File lib/highline/custom_errors.rb, line 11
def explanation_key
  nil
end