Exception: RLP::Error::EncodingError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, obj) ⇒ EncodingError

Returns a new instance of EncodingError.


9
10
11
12
13
# File 'lib/rlp/error.rb', line 9

def initialize(message, obj)
  super(message)

  @obj = obj
end

Instance Attribute Details

#objObject (readonly)

Returns the value of attribute obj


7
8
9
# File 'lib/rlp/error.rb', line 7

def obj
  @obj
end