Exception: RobotLab::To::CommitFailedError

Inherits:
Error
  • Object
show all
Defined in:
lib/robot_lab/to/errors.rb

Overview

git commit failed. Preserves uncommitted changes so the next iteration can repair them.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, output: nil) ⇒ CommitFailedError

Returns a new instance of CommitFailedError.



14
15
16
17
# File 'lib/robot_lab/to/errors.rb', line 14

def initialize(msg, output: nil)
  super(msg)
  @output = output
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



12
13
14
# File 'lib/robot_lab/to/errors.rb', line 12

def output
  @output
end