Exception: CodinRep::Command::MalformedResponsePayload

Inherits:
StandardError
  • Object
show all
Defined in:
lib/codin_rep/command.rb

Instance Method Summary collapse

Constructor Details

#initialize(command_executed) ⇒ MalformedResponsePayload

Returns a new instance of MalformedResponsePayload.



39
40
41
# File 'lib/codin_rep/command.rb', line 39

def initialize(command_executed)
  @command_executed = command_executed
end

Instance Method Details

#messageObject



43
44
45
# File 'lib/codin_rep/command.rb', line 43

def message
  "Payload response from '#{@command_executed}' command is malformed."
end