Exception: Dart2JsExceptions::CompilationException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Dart2JsExceptions::CompilationException
- Defined in:
- lib/dart2js_exceptions.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
-
#in_file ⇒ Object
readonly
Returns the value of attribute in_file.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(cmd, in_file, result) ⇒ CompilationException
constructor
A new instance of CompilationException.
Constructor Details
#initialize(cmd, in_file, result) ⇒ CompilationException
Returns a new instance of CompilationException.
5 6 7 8 9 10 |
# File 'lib/dart2js_exceptions.rb', line 5 def initialize cmd, in_file, result super("dart2js failed to compile '#{in_file}'") @result = result; @cmd = cmd; @in_file = in_file; end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
3 4 5 |
# File 'lib/dart2js_exceptions.rb', line 3 def cmd @cmd end |
#in_file ⇒ Object (readonly)
Returns the value of attribute in_file.
3 4 5 |
# File 'lib/dart2js_exceptions.rb', line 3 def in_file @in_file end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
3 4 5 |
# File 'lib/dart2js_exceptions.rb', line 3 def result @result end |