Exception: ExcADG::Broker::RequestProcessingFailed
- Inherits:
-
StandardError
- Object
- StandardError
- ExcADG::Broker::RequestProcessingFailed
- Defined in:
- lib/excadg/broker.rb
Overview
error type returned by broker thread in case it failed to process incoming request
Instance Attribute Summary collapse
-
#cause_backtrace ⇒ Object
readonly
Returns the value of attribute cause_backtrace.
Instance Method Summary collapse
-
#initialize(cause:) ⇒ RequestProcessingFailed
constructor
A new instance of RequestProcessingFailed.
Constructor Details
#initialize(cause:) ⇒ RequestProcessingFailed
Returns a new instance of RequestProcessingFailed.
137 138 139 140 141 |
# File 'lib/excadg/broker.rb', line 137 def initialize cause: # storing the cause itself could creak messaging, as it could contain non-shareable objects super cause. set_backtrace cause.backtrace end |
Instance Attribute Details
#cause_backtrace ⇒ Object (readonly)
Returns the value of attribute cause_backtrace.
135 136 137 |
# File 'lib/excadg/broker.rb', line 135 def cause_backtrace @cause_backtrace end |