Class: Nanoc::Int::Errors::UnknownDataSource Private
- Defined in:
- lib/nanoc/base/errors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Error that is raised when a site is loaded that uses a data source with an unknown identifier.
Instance Method Summary collapse
-
#initialize(data_source_name) ⇒ UnknownDataSource
constructor
private
A new instance of UnknownDataSource.
Constructor Details
#initialize(data_source_name) ⇒ UnknownDataSource
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnknownDataSource.
18 19 20 |
# File 'lib/nanoc/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.") end |