Exception: Rito::Error::VersionError

Inherits:
RitoError
  • Object
show all
Defined in:
lib/rito/error/version_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(name:, version:) ⇒ VersionError

Returns a new instance of VersionError


4
5
6
7
# File 'lib/rito/error/version_error.rb', line 4

def initialize(name:, version:)
msg = "#{version} is not a valid version for #{name}"
  super(msg)
end