Exception: RLP::Error::DecodingError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, rlp) ⇒ DecodingError

Returns a new instance of DecodingError.



21
22
23
24
25
# File 'lib/rlp/error.rb', line 21

def initialize(message, rlp)
  super(message)

  @rlp = rlp
end

Instance Attribute Details

#rlpObject (readonly)

Returns the value of attribute rlp.



19
20
21
# File 'lib/rlp/error.rb', line 19

def rlp
  @rlp
end