Exception: ActiveRecordDoctor::Error::ConfigurationFileMissing
- Inherits:
-
ActiveRecordDoctor::Error
- Object
- RuntimeError
- ActiveRecordDoctor::Error
- ActiveRecordDoctor::Error::ConfigurationFileMissing
- Defined in:
- lib/active_record_doctor/errors.rb
Overview
We don’t need extra documentation for error classes because of their extensive error messages. rubocop:disable Style/Documentation
Instance Attribute Summary
Attributes inherited from ActiveRecordDoctor::Error
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize ⇒ ConfigurationFileMissing
constructor
A new instance of ConfigurationFileMissing.
Methods inherited from ActiveRecordDoctor::Error
Constructor Details
#initialize ⇒ ConfigurationFileMissing
Returns a new instance of ConfigurationFileMissing.
63 64 65 |
# File 'lib/active_record_doctor/errors.rb', line 63 def initialize super("Configuration file not found") end |
Instance Method Details
#details ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/active_record_doctor/errors.rb', line 67 def details <<-MESSAGE active_record_doctor attempted to read a configuration file but could not find it. Please ensure the file exists and is readable (which includes correct permissions are set). If it does not exist or it's readable but you still get this error then consider filing a bug report as active_record_doctor should not attempt to load non-existent configuration files. MESSAGE end |