Exception: PgDice::MissingConfigurationFileError

Inherits:
ConfigurationError show all
Defined in:
lib/pgdice/error.rb

Overview

Error thrown if the config file specified does not exist.

Instance Method Summary collapse

Constructor Details

#initialize(config_file) ⇒ MissingConfigurationFileError

Returns a new instance of MissingConfigurationFileError.



67
68
69
# File 'lib/pgdice/error.rb', line 67

def initialize(config_file)
  super("File: '#{config_file}' could not be found or does not exist. Is this the correct file path?")
end