Exception: DTR::RemoteError

Inherits:
StandardError
  • Object
show all
Includes:
MessageDecorator
Defined in:
lib/dtr/shared/message_decorator.rb

Instance Method Summary collapse

Methods included from MessageDecorator

#decorate_message

Constructor Details

#initialize(e) ⇒ RemoteError

Returns a new instance of RemoteError.



23
24
25
26
# File 'lib/dtr/shared/message_decorator.rb', line 23

def initialize(e)
  super(decorate_message(e.message, e.class.name))
  set_backtrace(e.backtrace)
end