Exception: NoFeatureError
- Inherits:
-
StandardError
- Object
- StandardError
- NoFeatureError
- 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
-
#initialize(msg = "Sorry, it looks like you're trying to access a feature that hasn't been implemented yet. "\ "Try choosing something else!") ⇒ NoFeatureError
constructor
A new instance of NoFeatureError.
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 |