class Molflow::BaseConfigurationLoadError

Public Class Methods

new(path) click to toggle source
Calls superclass method
# File lib/molflow/error.rb, line 5
def initialize(path)
  message = 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(message)
end