Exception: BitcoinRPC::JSONRPCError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/txcatcher/bitcoin_rpc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ JSONRPCError



32
33
34
35
# File 'lib/txcatcher/bitcoin_rpc.rb', line 32

def initialize(data)
  super(data.to_s)
  self.data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



31
32
33
# File 'lib/txcatcher/bitcoin_rpc.rb', line 31

def data
  @data
end