Exception: Nanoc3::Errors::UnknownDataSource
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc3::Errors::UnknownDataSource
- Defined in:
- lib/nanoc3/base/errors.rb
Overview
Error that is raised when a site is loaded that uses a data source with an unknown identifier.
Instance Method Summary (collapse)
-
- (UnknownDataSource) initialize(data_source_name)
constructor
data source could be found.
Constructor Details
- (UnknownDataSource) initialize(data_source_name)
data source could be found
18 19 20 |
# File 'lib/nanoc3/base/errors.rb', line 18 def initialize(data_source_name) super("The data source specified in the site’s configuration file, “#{data_source_name}”, does not exist.".make_compatible_with_env) end |