Exception: OmfRc::MessageProcessError
- Inherits:
-
StandardError
- Object
- StandardError
- OmfRc::MessageProcessError
- 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
-
#cid ⇒ Object
readonly
Returns the value of attribute cid.
-
#replyto ⇒ Object
readonly
Returns the value of attribute replyto.
Instance Method Summary collapse
-
#initialize(cid, replyto, msg = nil) ⇒ MessageProcessError
constructor
A new instance of MessageProcessError.
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
#cid ⇒ Object (readonly)
Returns the value of attribute cid.
9 10 11 |
# File 'lib/omf_rc/omf_error.rb', line 9 def cid @cid end |
#replyto ⇒ Object (readonly)
Returns the value of attribute replyto.
9 10 11 |
# File 'lib/omf_rc/omf_error.rb', line 9 def replyto @replyto end |