Exception: RefArchSetup::BoltHelper::BoltCommandError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ref_arch_setup/bolt_helper.rb

Overview

custom exception class for bolt command errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, output) ⇒ BoltCommandError

Returns a new instance of BoltCommandError.



16
17
18
19
# File 'lib/ref_arch_setup/bolt_helper.rb', line 16

def initialize(message, output)
  @output = output
  super(message)
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



15
16
17
# File 'lib/ref_arch_setup/bolt_helper.rb', line 15

def output
  @output
end