Exception: ParamsReady::ErrorWrapper
- Inherits:
-
ParamsReadyError
- Object
- RuntimeError
- ParamsReadyError
- ParamsReady::ErrorWrapper
- Defined in:
- lib/params_ready/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ ErrorWrapper
constructor
A new instance of ErrorWrapper.
- #message ⇒ Object
Constructor Details
#initialize(error) ⇒ ErrorWrapper
Returns a new instance of ErrorWrapper.
7 8 9 |
# File 'lib/params_ready/error.rb', line 7 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
5 6 7 |
# File 'lib/params_ready/error.rb', line 5 def error @error end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/params_ready/error.rb', line 11 def @error. end |