Exception: BitcoinRPC::JSONRPCError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BitcoinRPC::JSONRPCError
- Defined in:
- lib/txcatcher/bitcoin_rpc.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ JSONRPCError
constructor
A new instance of JSONRPCError.
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
#data ⇒ Object
Returns the value of attribute data.
31 32 33 |
# File 'lib/txcatcher/bitcoin_rpc.rb', line 31 def data @data end |