Exception: Dart2JsExceptions::PrepareInputException

Inherits:
Dart2JsException show all
Defined in:
lib/dart2js_exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(compiler, reason) ⇒ PrepareInputException

Returns a new instance of PrepareInputException.



20
21
22
23
# File 'lib/dart2js_exceptions.rb', line 20

def initialize(compiler, reason)
  super(compiler)
  @reason = reason
end

Instance Method Details

#messageObject



25
26
27
# File 'lib/dart2js_exceptions.rb', line 25

def message
  "dart2js prepare_input failed\n in_file: #{@instance.in_file}\n input_path: #{@instance.input_path}\n reason: #{@reason}"
end