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.
29 30 31 32 33 |
# File 'lib/tezos_client/exceptions.rb', line 29 def initialize(error:, **_args) @pkh = error[:pkh] = "Invalid activation (pkh: #{pkh})" super end |
Instance Attribute Details
#pkh ⇒ Object (readonly)
Returns the value of attribute pkh.
27 28 29 |
# File 'lib/tezos_client/exceptions.rb', line 27 def pkh @pkh end |