Exception: Bixby::CommandException

Inherits:
Exception
  • Object
show all
Defined in:
lib/bixby-common/exception/command_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, command_response) ⇒ CommandException

Returns a new instance of CommandException.



7
8
9
10
# File 'lib/bixby-common/exception/command_exception.rb', line 7

def initialize(message, command_response)
  super(message)
  @response = command_response
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



5
6
7
# File 'lib/bixby-common/exception/command_exception.rb', line 5

def response
  @response
end