Exception: Ruber::Rake::Plugin::RakeError
Overview
Exception raised when the rake program exits with an error
Instance Attribute Summary (collapse)
-
- (<String>) rake_backtrace
readonly
The backtrace produced by rake.
-
- (String) rake_error
readonly
The error message produced by rake.
Instance Method Summary (collapse)
-
- (RakeError) initialize(error, backtrace)
constructor
A new instance of RakeError.
Constructor Details
- (RakeError) initialize(error, backtrace)
A new instance of RakeError
87 88 89 90 91 |
# File 'plugins/rake/rake.rb', line 87 def initialize error, backtrace super "Rake aborted saying: #{error}" @rake_error = error @rake_backtrace = backtrace end |
Instance Attribute Details
- (<String>) rake_backtrace (readonly)
The backtrace produced by rake
81 82 83 |
# File 'plugins/rake/rake.rb', line 81 def rake_backtrace @rake_backtrace end |
- (String) rake_error (readonly)
The error message produced by rake
76 77 78 |
# File 'plugins/rake/rake.rb', line 76 def rake_error @rake_error end |