Sha256: fd0fd63e1d934aaed8629d4789f99bcde59dadfd9bfe7b12b5b72d3ca26c15d4
Contents?: true
Size: 821 Bytes
Versions: 35
Compression:
Stored size: 821 Bytes
Contents
# frozen_string_literal: true module Nanoc module RuleDSL module Errors # Error that is raised when no rules file can be found in the current # working directory. class NoRulesFileFound < ::Nanoc::Core::Error def initialize super('This site does not have a rules file, which is required for Nanoc sites.') end end # Error that is raised when no compilation rule that can be applied to the # current item can be found. class NoMatchingCompilationRuleFound < ::Nanoc::Core::Error # @param [Nanoc::Core::Item] item The item for which no compilation rule # could be found def initialize(item) super("No compilation rules were found for the “#{item.identifier}” item.") end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems