class Nanoc::Core::Errors::CannotGetCompiledContentOfBinaryItem

Error that is raised when the compiled content of a binary item is attempted to be accessed.

Public Class Methods

new(rep) click to toggle source

@param [Nanoc::Core::ItemRep] rep The binary item representation whose compiled content was attempted to be accessed

Calls superclass method
# File lib/nanoc/core/errors.rb, line 105
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