Exception: PgDice::MissingConfigurationFileError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- PgDice::MissingConfigurationFileError
- Defined in:
- lib/pgdice/error.rb
Overview
Error thrown if the config file specified does not exist.
Instance Method Summary collapse
-
#initialize(config_file) ⇒ MissingConfigurationFileError
constructor
A new instance of MissingConfigurationFileError.
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 |