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.
42 43 44 45 46 47 48 |
# File 'lib/tezos_client/exceptions.rb', line 42 def initialize(error:, **_args) @contract = error[:contract] @message = "Previously revealed key for address #{contract}" super end |
Instance Attribute Details
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
40 41 42 |
# File 'lib/tezos_client/exceptions.rb', line 40 def contract @contract end |