Exception: Utils::Exceptions::InvalidProcessResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bas/utils/exceptions/invalid_process_response.rb

Overview

Representation for errors that occur when a process function of a Bot returns something different than a Hash type object. It inherits from StandardError.

Instance Method Summary collapse

Constructor Details

#initialize(message = "The Process response should be a Hash type object") ⇒ InvalidProcessResponse

Returns a new instance of InvalidProcessResponse.



11
12
13
# File 'lib/bas/utils/exceptions/invalid_process_response.rb', line 11

def initialize(message = "The Process response should be a Hash type object")
  super(message)
end