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.


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

def initialize(message, obj)
  super(message)

  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj


27
28
29
# File 'lib/rlp/error.rb', line 27

def obj
  @obj
end