Exception: Alchemrest::MorpherTransformError
- Defined in:
- lib/alchemrest/error.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ MorpherTransformError
constructor
A new instance of MorpherTransformError.
- #to_s ⇒ Object
Methods inherited from Error
#deconstruct, #deconstruct_keys
Constructor Details
#initialize(error) ⇒ MorpherTransformError
Returns a new instance of MorpherTransformError.
93 94 95 96 |
# File 'lib/alchemrest/error.rb', line 93 def initialize(error) @error = error super() end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
91 92 93 |
# File 'lib/alchemrest/error.rb', line 91 def error @error end |
Instance Method Details
#to_s ⇒ Object
98 99 100 |
# File 'lib/alchemrest/error.rb', line 98 def to_s "Response does not match expected schema - #{error.}" end |