Exception: StepFailureException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- StepFailureException
- Defined in:
- lib/shiplane/build.rb
Instance Method Summary collapse
-
#initialize(command, artifact_name, error_message: nil) ⇒ StepFailureException
constructor
A new instance of StepFailureException.
Constructor Details
#initialize(command, artifact_name, error_message: nil) ⇒ StepFailureException
Returns a new instance of StepFailureException.
217 218 219 220 |
# File 'lib/shiplane/build.rb', line 217 def initialize(command, artifact_name, error_message: nil) = "Command [#{command}] failed for artifact: #{artifact_name}#{ ? "\nError Message Received: #{}" : ''}" if artifact_name super() end |