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.


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

def initialize(message, serial)
  super(message)

  @serial = serial
end

Instance Attribute Details

#serialObject (readonly)

Returns the value of attribute serial


37
38
39
# File 'lib/rlp/error.rb', line 37

def serial
  @serial
end