Method: Stomp::Error::BrokerException#initialize
- Defined in:
- lib/stomp/errors.rb
#initialize(message) ⇒ BrokerException
Returns a new instance of BrokerException.
282 283 284 285 286 287 |
# File 'lib/stomp/errors.rb', line 282 def initialize() = .headers.delete('message') @receipt_id = .headers.delete('receipt-id') || 'no receipt id' @headers = .headers @broker_backtrace = .body end |