class Mongoid::Errors::InvalidConfigFile
This error is raised when a bad configuration file is attempted to be loaded.
Public Class Methods
new(path)
click to toggle source
Create the new error.
@param [ String ] path The path of the config file used.
@api private
Calls superclass method
# File lib/mongoid/errors/invalid_config_file.rb, line 16 def initialize(path) super( compose_message( "invalid_config_file", { path: path } ) ) end