Exception: CardanoUp::VersionNotSupportedError

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

Overview

Thrown when version of bundle to download is not supported

Instance Method Summary collapse

Constructor Details

#initialize(ver) ⇒ VersionNotSupportedError

Returns a new instance of VersionNotSupportedError.



69
70
71
72
# File 'lib/cardano-up/err.rb', line 69

def initialize(ver)
  super(["Not supported version: #{ver}. Supported are: 'latest' or",
         "tag (e.g. 'v2022-08-16')"].join(' '))
end