Exception: OmfRc::MessageProcessError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/omf_rc/omf_error.rb

Overview

Error during message processing, include message related information cid and replyto, for publishing errors to pubsub server

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cid, replyto, msg = nil) ⇒ MessageProcessError

Returns a new instance of MessageProcessError.



11
12
13
14
15
# File 'lib/omf_rc/omf_error.rb', line 11

def initialize(cid, replyto, msg = nil)
  @cid = cid
  @replyto = replyto
  super(msg)
end

Instance Attribute Details

#cidObject (readonly)

Returns the value of attribute cid.



9
10
11
# File 'lib/omf_rc/omf_error.rb', line 9

def cid
  @cid
end

#replytoObject (readonly)

Returns the value of attribute replyto.



9
10
11
# File 'lib/omf_rc/omf_error.rb', line 9

def replyto
  @replyto
end