Exception: Nanoc::Core::Errors::CannotGetCompiledContentOfBinaryItem
- Inherits:
-
Nanoc::Core::Error
- Object
- StandardError
- Nanoc::Core::Error
- Nanoc::Core::Errors::CannotGetCompiledContentOfBinaryItem
- Defined in:
- lib/nanoc/core/errors.rb
Overview
Error that is raised when the compiled content of a binary item is attempted to be accessed.
Instance Method Summary collapse
-
#initialize(rep) ⇒ CannotGetCompiledContentOfBinaryItem
constructor
A new instance of CannotGetCompiledContentOfBinaryItem.
Constructor Details
#initialize(rep) ⇒ CannotGetCompiledContentOfBinaryItem
Returns a new instance of CannotGetCompiledContentOfBinaryItem.
102 103 104 |
# File 'lib/nanoc/core/errors.rb', line 102 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}.") end |