Exception: Nanoc::Core::Filter::FilterReturnedNilError

Inherits:
Error
  • Object
show all
Includes:
ContractsSupport
Defined in:
lib/nanoc/core/filter.rb

Instance Method Summary collapse

Methods included from ContractsSupport

enabled?, included, setup_once, warn_about_performance

Constructor Details

#initialize(filter_name) ⇒ FilterReturnedNilError

Returns a new instance of FilterReturnedNilError.



59
60
61
# File 'lib/nanoc/core/filter.rb', line 59

def initialize(filter_name)
  super("The #{filter_name.inspect} filter returned nil, but is required to return a String.")
end