class ActiveRecordDoctor::Error::ConfigurationError

Public Class Methods

new(exc) click to toggle source
Calls superclass method
# File lib/active_record_doctor/errors.rb, line 79
def initialize(exc)
  @exc = exc
  super("Loading the configuration file resulted in an exception")
end

Public Instance Methods

details() click to toggle source
# File lib/active_record_doctor/errors.rb, line 84
      def details
        <<-MESSAGE
The information below comes from the exception raised when the configuration
file was being evaluated. Please try using the details below to fix the error
and retry.

Error class:
#{@exc.class.name}

Error message:
#{@exc.message}

Backtrace:
#{@exc.backtrace.join("\n")}
        MESSAGE
      end