Exception: TezosClient::InvalidActivation
- Inherits:
-
RpcRequestFailure
- Object
- StandardError
- RpcRequestFailure
- TezosClient::InvalidActivation
- Defined in:
- lib/tezos_client/exceptions.rb
Instance Attribute Summary collapse
-
#pkh ⇒ Object
readonly
Returns the value of attribute pkh.
Attributes inherited from RpcRequestFailure
Instance Method Summary collapse
-
#initialize(error:, **_args) ⇒ InvalidActivation
constructor
A new instance of InvalidActivation.
Constructor Details
#initialize(error:, **_args) ⇒ InvalidActivation
Returns a new instance of InvalidActivation.
32 33 34 35 36 |
# File 'lib/tezos_client/exceptions.rb', line 32 def initialize(error:, **_args) @pkh = error[:pkh] @message = "Invalid activation (pkh: #{pkh})" super end |
Instance Attribute Details
#pkh ⇒ Object (readonly)
Returns the value of attribute pkh.
30 31 32 |
# File 'lib/tezos_client/exceptions.rb', line 30 def pkh @pkh end |