Class: Messagebus::MessageStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/messagebus/error_status.rb

Constant Summary collapse

CODES =
{
  "1000" => "Invalid Acknowledgement Type",
  "1010" => "Invalid Host",
  "1020" => "Invalid Destination"
}

Instance Method Summary collapse

Constructor Details

#initialize(code, message, backtrace = nil) ⇒ MessageStatus

Returns a new instance of MessageStatus.



39
40
# File 'lib/messagebus/error_status.rb', line 39

def initialize(code, message, backtrace = nil)
end