class Nanoc::Core::Errors::CompilationError
Error
that is raised when compilation of an item rep fails. The underlying error is available by calling `#unwrap`.
Attributes
item_rep[R]
Public Class Methods
new(wrapped, item_rep)
click to toggle source
# File lib/nanoc/core/errors.rb, line 32 def initialize(wrapped, item_rep) @wrapped = wrapped @item_rep = item_rep end
Public Instance Methods
unwrap()
click to toggle source
# File lib/nanoc/core/errors.rb, line 37 def unwrap @wrapped end