Exception: Nanoc::Errors::UnknownDataSource
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc::Errors::UnknownDataSource
- Defined in:
- lib/nanoc/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
A new instance of UnknownDataSource.
Constructor Details
- (UnknownDataSource) initialize(data_source_name)
Returns a new instance of UnknownDataSource
23 24 25 |
# File 'lib/nanoc/base/errors.rb', line 23 def initialize(data_source_name) super("The data source specified in the site’s configuration file, “#{data_source_name}”, does not exist.") end |