Exception: Bellboy::ConfigNotFound
- Inherits:
-
BellboyError
- Object
- StandardError
- BellboyError
- Bellboy::ConfigNotFound
- Defined in:
- lib/bellboy/errors.rb
Overview
Invalid configuration file path
Instance Method Summary collapse
-
#initialize(configpath) ⇒ ConfigNotFound
constructor
A new instance of ConfigNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(configpath) ⇒ ConfigNotFound
Returns a new instance of ConfigNotFound.
66 67 68 |
# File 'lib/bellboy/errors.rb', line 66 def initialize(configpath) @configpath = configpath end |
Instance Method Details
#to_s ⇒ Object
70 71 72 |
# File 'lib/bellboy/errors.rb', line 70 def to_s "Config file #{@configpath} does not exist" end |