Exception: Rubycc::Rmake::CommandFailedError
- Inherits:
-
ExecutionError
- Object
- StandardError
- Error
- RmakeError
- ExecutionError
- Rubycc::Rmake::CommandFailedError
- Defined in:
- lib/rubycc/rmake/errors.rb
Overview
A recipe command exited non-zero (or an internal utility reported failure)
and the line was not marked to ignore errors (-). Carries the exit reason
when one is known (a missing external tool, a utility's own message).
Instance Attribute Summary
Attributes inherited from ExecutionError
Instance Method Summary collapse
-
#initialize(target:, command:, reason: nil) ⇒ CommandFailedError
constructor
A new instance of CommandFailedError.
Constructor Details
#initialize(target:, command:, reason: nil) ⇒ CommandFailedError
Returns a new instance of CommandFailedError.
53 54 55 56 |
# File 'lib/rubycc/rmake/errors.rb', line 53 def initialize(target:, command:, reason: nil) super(reason ? "recipe command failed (#{reason})" : "recipe command failed", target: target, command: command) end |