Exception: Widow::CompileError
- Inherits:
-
Exception
- Object
- Exception
- Widow::CompileError
- Defined in:
- lib/widow.rb
Instance Method Summary collapse
-
#initialize(tilt, exception) ⇒ CompileError
constructor
A new instance of CompileError.
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.}\n\t#{exception.backtrace.join "\n\t"}" end |