Exception: Nanoc::Errors::CannotGetCompiledContentOfBinaryItem
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc::Errors::CannotGetCompiledContentOfBinaryItem
- Defined in:
- lib/nanoc/base/errors.rb
Overview
Error that is raised when the compiled content of a binary item is attempted to be accessed.
Instance Method Summary (collapse)
-
- (CannotGetCompiledContentOfBinaryItem) initialize(rep)
constructor
A new instance of CannotGetCompiledContentOfBinaryItem.
Constructor Details
- (CannotGetCompiledContentOfBinaryItem) initialize(rep)
Returns a new instance of CannotGetCompiledContentOfBinaryItem
209 210 211 |
# File 'lib/nanoc/base/errors.rb', line 209 def initialize(rep) super("You cannot access the compiled content of a binary item representation (but you can access the path). The offending item rep is #{rep.inspect}.") end |