Exception: Nanoc3::Errors::DataNotYetAvailable Deprecated

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc3/base/errors.rb

Overview

Deprecated.

No longer necessary, but kept for backwards compatibility.

Instance Method Summary collapse

Constructor Details

#initialize(type, plural) ⇒ DataNotYetAvailable

Returns a new instance of DataNotYetAvailable.



166
167
168
# File 'lib/nanoc3/base/errors.rb', line 166

def initialize(type, plural)
  super("#{type} #{plural ? 'are' : 'is'} not available yet. You may be missing a Nanoc3::Site#load_data call.".make_compatible_with_env)
end