Exception: RLP::Error::DeserializationError
- Inherits:
-
RLPException
- Object
- Exception
- RLPException
- RLP::Error::DeserializationError
- Defined in:
- lib/rlp/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#serial ⇒ Object
readonly
Returns the value of attribute serial.
Instance Method Summary collapse
-
#initialize(message, serial) ⇒ DeserializationError
constructor
A new instance of DeserializationError.
Constructor Details
#initialize(message, serial) ⇒ DeserializationError
Returns a new instance of DeserializationError.
39 40 41 42 43 |
# File 'lib/rlp/error.rb', line 39 def initialize(, serial) super() @serial = serial end |
Instance Attribute Details
#serial ⇒ Object (readonly)
Returns the value of attribute serial.
37 38 39 |
# File 'lib/rlp/error.rb', line 37 def serial @serial end |