class Nanoc::Core::Errors::CannotGetParentOrChildrenOfNonLegacyItem
Error
that is raised when attempting to call parent or children on an item with a legacy identifier.
Public Class Methods
new(identifier)
click to toggle source
Calls superclass method
# File lib/nanoc/core/errors.rb, line 112 def initialize(identifier) super("You cannot get the parent or children of an item that has a “full” identifier (#{identifier}). Getting the parent or children of an item is only possible for items that have a legacy identifier.") end