Exception: OmfRc::MessageProcessError

Inherits:
StandardError
  • Object
show all
Defined in:
omf_rc/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



11
12
13
14
15
# File 'omf_rc/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 'omf_rc/lib/omf_rc/omf_error.rb', line 9

def cid
  @cid
end

#replytoObject (readonly)

Returns the value of attribute replyto



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

def replyto
  @replyto
end