Exception: RLP::Error::EncodingError
- Inherits:
-
RLPException
- Object
- StandardError
- RLPException
- RLP::Error::EncodingError
- Defined in:
- lib/rlp/error.rb
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
Instance Method Summary collapse
-
#initialize(message, obj) ⇒ EncodingError
constructor
A new instance of EncodingError.
Constructor Details
#initialize(message, obj) ⇒ EncodingError
Returns a new instance of EncodingError.
11 12 13 14 15 |
# File 'lib/rlp/error.rb', line 11 def initialize(, obj) super() @obj = obj end |
Instance Attribute Details
#obj ⇒ Object (readonly)
Returns the value of attribute obj.
9 10 11 |
# File 'lib/rlp/error.rb', line 9 def obj @obj end |