Exception: ExcADG::Broker::RequestProcessingFailed

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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.message
  set_backtrace cause.backtrace
end

Instance Attribute Details

#cause_backtraceObject (readonly)

Returns the value of attribute cause_backtrace.



135
136
137
# File 'lib/excadg/broker.rb', line 135

def cause_backtrace
  @cause_backtrace
end