Exception: Nanoc3::Errors::DataNotYetAvailable
- StandardError
- Nanoc3::Errors::Generic
- Nanoc3::Errors::DataNotYetAvailable
Error that is raised when data is requested when the data is not yet available (possibly due to a missing Nanoc::Site#load_data).
Constructor Summary
public
initialize(type, plural)
[View source]
47 48 49 |
# File 'lib/nanoc3/base/errors.rb', line 47 def initialize(type, plural) super("#{type} #{plural ? 'are' : 'is'} not available yet. You may be missing a Nanoc::Site#load_data call.") end |