Exception: HyperResource::Modules::HTTP::WrapErrors::WrappedError
- Inherits:
-
StandardError
- Object
- StandardError
- HyperResource::Modules::HTTP::WrapErrors::WrappedError
- Defined in:
- lib/hyper_resource/modules/http/wrap_errors.rb
Instance Attribute Summary collapse
-
#err ⇒ Object
readonly
Returns the value of attribute err.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, err) ⇒ WrappedError
constructor
A new instance of WrappedError.
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
#err ⇒ Object (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 |
#method ⇒ Object (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 |