Exception: CardanoUp::SessionHasWalletError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cardano-up/err.rb

Overview

Thrown when there is already a wallet running in the session

Instance Method Summary collapse

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