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.
151 152 153 154 155 156 |
# File 'lib/sequence/response_object.rb', line 151 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.
147 148 149 |
# File 'lib/sequence/response_object.rb', line 147 def attrib_name @attrib_name end |
#raw_value ⇒ Object (readonly)
Returns the value of attribute raw_value.
148 149 150 |
# File 'lib/sequence/response_object.rb', line 148 def raw_value @raw_value end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
149 150 151 |
# File 'lib/sequence/response_object.rb', line 149 def source @source end |