Exception: RLP::Error::DeserializationError

Inherits:
RLPException
  • Object
show all
Defined in:
lib/rlp/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, serial) ⇒ DeserializationError

Returns a new instance of DeserializationError.



41
42
43
44
45
# File 'lib/rlp/error.rb', line 41

def initialize(message, serial)
  super(message)

  @serial = serial
end

Instance Attribute Details

#serialObject (readonly)

Returns the value of attribute serial.



39
40
41
# File 'lib/rlp/error.rb', line 39

def serial
  @serial
end