Exception: StepFailureException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/shiplane/build.rb

Instance Method Summary collapse

Constructor Details

#initialize(command, artifact_name) ⇒ StepFailureException

Returns a new instance of StepFailureException.



97
98
99
100
# File 'lib/shiplane/build.rb', line 97

def initialize(command, artifact_name)
  message = "Command [#{command}] failed for artifact: #{artifact_name}" if artifact_name
  super(message)
end