Exception: Rack::Remote::RemoteError
- Inherits:
-
StandardError
- Object
- StandardError
- Rack::Remote::RemoteError
- Defined in:
- lib/rack/remote.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ RemoteError
constructor
A new instance of RemoteError.
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 |