Exception: CardanoUp::SessionHasWalletError
- Inherits:
-
StandardError
- Object
- StandardError
- CardanoUp::SessionHasWalletError
- Defined in:
- lib/cardano-up/err.rb
Overview
Thrown when there is already a wallet running in the session
Instance Method Summary collapse
-
#initialize(session_name, network) ⇒ SessionHasWalletError
constructor
A new instance of SessionHasWalletError.
Constructor Details
#initialize(session_name, network) ⇒ SessionHasWalletError
Returns a new instance of SessionHasWalletError.
34 35 36 |
# File 'lib/cardano-up/err.rb', line 34 def initialize(session_name, network) super("Session '#{session_name}' already has wallet running on '#{network}'!") end |