Exception: CardanoUp::SessionHasNodeError

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

Overview

Thrown when there is already a node running in the session

Instance Method Summary collapse

Constructor Details

#initialize(session_name, network) ⇒ SessionHasNodeError

Returns a new instance of SessionHasNodeError.



27
28
29
# File 'lib/cardano-up/err.rb', line 27

def initialize(session_name, network)
  super("Session '#{session_name}' already has node running on '#{network}'!")
end