Exception: Widow::CompileError

Inherits:
Exception
  • Object
show all
Defined in:
lib/widow.rb

Instance Method Summary collapse

Constructor Details

#initialize(tilt, exception) ⇒ CompileError

Returns a new instance of CompileError.



17
18
19
# File 'lib/widow.rb', line 17

def initialize tilt, exception
	super "#{tilt.file} with template #{tilt} failed to compile:\n#{exception.message}\n\t#{exception.backtrace.join "\n\t"}"
end