Exception: Molflow::BaseConfigurationLoadError
- Inherits:
-
LoadError
- Object
- LoadError
- Molflow::BaseConfigurationLoadError
- Defined in:
- lib/molflow/error.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ BaseConfigurationLoadError
constructor
A new instance of BaseConfigurationLoadError.
Constructor Details
#initialize(path) ⇒ BaseConfigurationLoadError
Returns a new instance of BaseConfigurationLoadError.
5 6 7 8 9 10 11 12 13 |
# File 'lib/molflow/error.rb', line 5 def initialize(path) = if File.exist?(path) "Sorry, but the configuration file has an incorrect format. Try `molflow install`.\nPath: #{path}" else "Sorry, but the configuration file is missing on this path: #{path}. Try `molflow install`" end super() end |