lib/nanoc/base/errors.rb in nanoc-4.9.9 vs lib/nanoc/base/errors.rb in nanoc-4.10.0
- old
+ new
@@ -234,9 +234,15 @@
def initialize(filter_name)
super("The #{filter_name.inspect} filter returned nil, but is required to return a String.")
end
end
+ class AmbiguousMetadataAssociation < Generic
+ def initialize(content_filenames, meta_filename)
+ super("There are multiple content files (#{content_filenames.join(', ')}) that could match the file containing metadata (#{meta_filename}).")
+ end
+ end
+
class InternalInconsistency < Generic
end
end
end