Exception: Nanoc3::Errors::RecursiveCompilation

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

Overview

Error that is raised during site compilation when an item (directly or indirectly) includes its own item content, leading to endless recursion.

Instance Method Summary (collapse)

Constructor Details

- (RecursiveCompilation) initialize(reps)

that mutually depend on each other

Parameters:



84
85
86
# File 'lib/nanoc3/base/errors.rb', line 84

def initialize(reps)
  super("The site cannot be compiled because the following items mutually depend on each other: #{reps.inspect}.".make_compatible_with_env)
end