Exception: CardanoUp::SessionHasNodeError
- Inherits:
-
StandardError
- Object
- StandardError
- CardanoUp::SessionHasNodeError
- Defined in:
- lib/cardano-up/err.rb
Overview
Thrown when there is already a node running in the session
Instance Method Summary collapse
-
#initialize(session_name, network) ⇒ SessionHasNodeError
constructor
A new instance of SessionHasNodeError.
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 |