Exception: RLP::Error::SerializationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, obj) ⇒ SerializationError

Returns a new instance of SerializationError.



31
32
33
34
35
# File 'lib/rlp/error.rb', line 31

def initialize(message, obj)
  super(message)

  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj.



29
30
31
# File 'lib/rlp/error.rb', line 29

def obj
  @obj
end