Exception: RLP::Error::SerializationError
- Inherits:
-
RLPException
- Object
- Exception
- RLPException
- RLP::Error::SerializationError
- Defined in:
- lib/rlp/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#obj ⇒ Object
readonly
Returns the value of attribute obj.
Instance Method Summary collapse
-
#initialize(message, obj) ⇒ SerializationError
constructor
A new instance of SerializationError.
Constructor Details
#initialize(message, obj) ⇒ SerializationError
Returns a new instance of SerializationError.
29 30 31 32 33 |
# File 'lib/rlp/error.rb', line 29 def initialize(, obj) super() @obj = obj end |
Instance Attribute Details
#obj ⇒ Object (readonly)
Returns the value of attribute obj.
27 28 29 |
# File 'lib/rlp/error.rb', line 27 def obj @obj end |