Exception: Rack::Remote::RemoteError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rack/remote.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ RemoteError

Returns a new instance of RemoteError.



36
37
38
39
# File 'lib/rack/remote.rb', line 36

def initialize(opts = {})
  super "#{opts[:class]}: #{opts[:error]}"
  set_backtrace opts[:backtrace]
end