Exception: HyperResource::Modules::HTTP::WrapErrors::WrappedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hyper_resource/modules/http/wrap_errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method, err) ⇒ WrappedError

Returns a new instance of WrappedError.



8
9
10
11
# File 'lib/hyper_resource/modules/http/wrap_errors.rb', line 8

def initialize(method, err)
  @method = method
  @err = err
end

Instance Attribute Details

#errObject (readonly)

Returns the value of attribute err.



6
7
8
# File 'lib/hyper_resource/modules/http/wrap_errors.rb', line 6

def err
  @err
end

#methodObject (readonly)

Returns the value of attribute method.



6
7
8
# File 'lib/hyper_resource/modules/http/wrap_errors.rb', line 6

def method
  @method
end