Exception: Widow::CompileError
- Inherits:
-
Exception
- Object
- Exception
- Widow::CompileError
- Defined in:
- lib/widow.rb
Instance Method Summary collapse
-
#initialize(filename, exception) ⇒ CompileError
constructor
A new instance of CompileError.
Constructor Details
#initialize(filename, exception) ⇒ CompileError
Returns a new instance of CompileError.
10 11 12 |
# File 'lib/widow.rb', line 10 def initialize filename, exception super "#{filename} failed to compile:\n#{exception.message}\n\t#{exception.backtrace.join "\n\t"}" end |