Exception: Solana::Client::RpcError
- Inherits:
-
StandardError
- Object
- StandardError
- Solana::Client::RpcError
- Defined in:
- lib/solana/client.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code: nil) ⇒ RpcError
constructor
A new instance of RpcError.
Constructor Details
#initialize(message, code: nil) ⇒ RpcError
Returns a new instance of RpcError.
10 11 12 13 |
# File 'lib/solana/client.rb', line 10 def initialize(, code: nil) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
9 10 11 |
# File 'lib/solana/client.rb', line 9 def code @code end |