Exception: GitVersionBump::CommandFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/git-version-bump.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(m, output, exitstatus) ⇒ CommandFailure

Returns a new instance of CommandFailure.



11
12
13
14
# File 'lib/git-version-bump.rb', line 11

def initialize(m, output, exitstatus)
	super(m)
	@output, @exitstatus = output, exitstatus
end

Instance Attribute Details

#exitstatusObject

Returns the value of attribute exitstatus.



9
10
11
# File 'lib/git-version-bump.rb', line 9

def exitstatus
  @exitstatus
end

#outputObject

Returns the value of attribute output.



9
10
11
# File 'lib/git-version-bump.rb', line 9

def output
  @output
end