module RConfig::Exceptions

Public Instance Methods

raise_load_path_error() click to toggle source

Raised when no valid load paths are available.

# File lib/rconfig/exceptions.rb, line 16
def raise_load_path_error
  raise InvalidLoadPathError, "No load paths were provided, and none of the default paths were found."
end
raise_logger_error() click to toggle source

Raised if logging is enabled, but no logger is specified}.

# File lib/rconfig/exceptions.rb, line 21
def raise_logger_error
  raise ConfigError, "No logger was specified, and a defualt logger was not found. Set logger to `false` to disable logging."
end