Exception: Hyperclient::InvalidRepresentationError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Hyperclient::InvalidRepresentationError
- Defined in:
- lib/hyperclient/resource.rb
Overview
Exception that is raised when passing in invalid representation data for the resource.
Instance Attribute Summary collapse
- #representation ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(error_description, representation) ⇒ InvalidRepresentationError
constructor
A new instance of InvalidRepresentationError.
Constructor Details
#initialize(error_description, representation) ⇒ InvalidRepresentationError
Returns a new instance of InvalidRepresentationError.
9 10 11 12 |
# File 'lib/hyperclient/resource.rb', line 9 def initialize(error_description, representation) super(error_description) @representation = representation end |
Instance Attribute Details
#representation ⇒ Object (readonly)
7 8 9 |
# File 'lib/hyperclient/resource.rb', line 7 def representation @representation end |