Exception: OnyxMesh::ResponseObject::DetranslateError
- Inherits:
-
StandardError
- Object
- StandardError
- OnyxMesh::ResponseObject::DetranslateError
- Defined in:
- lib/onyx_mesh/response_object.rb
Instance Attribute Summary collapse
-
#attrib_name ⇒ Object
readonly
Returns the value of attribute attrib_name.
-
#raw_value ⇒ Object
readonly
Returns the value of attribute raw_value.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(attrib_name, raw_value, source) ⇒ DetranslateError
constructor
A new instance of DetranslateError.
Constructor Details
#initialize(attrib_name, raw_value, source) ⇒ DetranslateError
Returns a new instance of DetranslateError.
164 165 166 167 168 169 |
# File 'lib/onyx_mesh/response_object.rb', line 164 def initialize(attrib_name, raw_value, source) super "Error de-translating attrib #{attrib_name}: #{source}" @attrib_name = attrib_name @raw_value = raw_value @source = source end |
Instance Attribute Details
#attrib_name ⇒ Object (readonly)
Returns the value of attribute attrib_name.
160 161 162 |
# File 'lib/onyx_mesh/response_object.rb', line 160 def attrib_name @attrib_name end |
#raw_value ⇒ Object (readonly)
Returns the value of attribute raw_value.
161 162 163 |
# File 'lib/onyx_mesh/response_object.rb', line 161 def raw_value @raw_value end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
162 163 164 |
# File 'lib/onyx_mesh/response_object.rb', line 162 def source @source end |