Exception: Nanoc3::Errors::UnmetDependency
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc3::Errors::UnmetDependency
- Defined in:
- lib/nanoc3/base/errors.rb
Overview
Error that is raised when an rep cannot be compiled because it depends on other representations.
Instance Attribute Summary (collapse)
-
- (Nanoc3::ItemRep) rep
readonly
compiled.
Instance Method Summary (collapse)
-
- (UnmetDependency) initialize(rep)
constructor
compiled.
Constructor Details
- (UnmetDependency) initialize(rep)
compiled
134 135 136 137 |
# File 'lib/nanoc3/base/errors.rb', line 134 def initialize(rep) @rep = rep super("The current item cannot be compiled yet because of an unmet dependency on the “#{rep.item.identifier}” item (rep “#{rep.name}”).".make_compatible_with_env) end |
Instance Attribute Details
- (Nanoc3::ItemRep) rep (readonly)
compiled
130 131 132 |
# File 'lib/nanoc3/base/errors.rb', line 130 def rep @rep end |