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.



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

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