Exception: UnknownVersionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chauffeur/unknown_version_error.rb

Overview

This class gets thrown when the platform is something other than valid driver versions.

Instance Method Summary collapse

Constructor Details

#initialize(version, msg = nil) ⇒ UnknownVersionError

Returns a new instance of UnknownVersionError.



3
4
5
6
# File 'lib/chauffeur/unknown_version_error.rb', line 3

def initialize(version, msg = nil)
  msg ||= "Unknown Version: #{version}"
  super(msg)
end