Exception: Dart2JsExceptions::CompilationException
- Inherits:
-
Dart2JsException
- Object
- Exception
- Dart2JsException
- Dart2JsExceptions::CompilationException
- Defined in:
- lib/dart2js_exceptions.rb
Instance Method Summary collapse
-
#initialize(compiler, cmd) ⇒ CompilationException
constructor
A new instance of CompilationException.
- #message ⇒ Object
Constructor Details
#initialize(compiler, cmd) ⇒ CompilationException
Returns a new instance of CompilationException.
9 10 11 12 |
# File 'lib/dart2js_exceptions.rb', line 9 def initialize(compiler, cmd) super(compiler) @cmd = cmd; end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/dart2js_exceptions.rb', line 14 def "dart2js compilation '#{@cmd}' failed:\n #{@instance.result}" end |