Exception: TezosClient::PreviouslyRevealedKey
- Inherits:
-
RpcRequestFailure
- Object
- StandardError
- RpcRequestFailure
- TezosClient::PreviouslyRevealedKey
- Defined in:
- lib/tezos_client/exceptions.rb
Instance Attribute Summary collapse
-
#contract ⇒ Object
readonly
Returns the value of attribute contract.
Attributes inherited from RpcRequestFailure
Instance Method Summary collapse
-
#initialize(error:, **_args) ⇒ PreviouslyRevealedKey
constructor
A new instance of PreviouslyRevealedKey.
Constructor Details
#initialize(error:, **_args) ⇒ PreviouslyRevealedKey
Returns a new instance of PreviouslyRevealedKey.
39 40 41 42 43 44 45 |
# File 'lib/tezos_client/exceptions.rb', line 39 def initialize(error:, **_args) @contract = error[:contract] = "Previously revealed key for address #{contract}" super end |
Instance Attribute Details
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
37 38 39 |
# File 'lib/tezos_client/exceptions.rb', line 37 def contract @contract end |