Exception: Nanoc3::Errors::CannotUseTextualFilter
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc3::Errors::CannotUseTextualFilter
- Defined in:
- lib/nanoc3/base/errors.rb
Overview
Error that is raised when a textual filter is attempted to be applied to a binary item representation.
Instance Method Summary (collapse)
-
- (CannotUseTextualFilter) initialize(rep, filter_class)
constructor
attempted to be filtered.
Constructor Details
- (CannotUseTextualFilter) initialize(rep, filter_class)
attempted to be filtered
160 161 162 |
# File 'lib/nanoc3/base/errors.rb', line 160 def initialize(rep, filter_class) super("The “#{filter_class.inspect}” filter cannot be used to filter the “#{rep.item.identifier}” item (rep “#{rep.name}”), because textual filters cannot be used on binary items.".make_compatible_with_env) end |