Exception: Sequence::ResponseObject::TranslateError
- Inherits:
-
StandardError
- Object
- StandardError
- Sequence::ResponseObject::TranslateError
- Defined in:
- lib/sequence/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) ⇒ TranslateError
constructor
A new instance of TranslateError.
Constructor Details
#initialize(attrib_name, raw_value, source) ⇒ TranslateError
Returns a new instance of TranslateError.
145 146 147 148 149 150 |
# File 'lib/sequence/response_object.rb', line 145 def initialize(attrib_name, raw_value, source) super "Error 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.
141 142 143 |
# File 'lib/sequence/response_object.rb', line 141 def attrib_name @attrib_name end |
#raw_value ⇒ Object (readonly)
Returns the value of attribute raw_value.
142 143 144 |
# File 'lib/sequence/response_object.rb', line 142 def raw_value @raw_value end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
143 144 145 |
# File 'lib/sequence/response_object.rb', line 143 def source @source end |