Exception: NoFeatureError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/terminal_hero/classes/errors/no_feature_error.rb

Overview

A custom error raised when accessing a feature not yet implemented

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Sorry, it looks like you're trying to access a feature that hasn't been implemented yet. "\ "Try choosing something else!") ⇒ NoFeatureError

Returns a new instance of NoFeatureError.



3
4
5
6
7
8
# File 'lib/terminal_hero/classes/errors/no_feature_error.rb', line 3

def initialize(
  msg = "Sorry, it looks like you're trying to access a feature that hasn't been implemented yet. "\
  "Try choosing something else!"
)
  super
end