Exception: UnknownVersionError
- Inherits:
-
StandardError
- Object
- StandardError
- UnknownVersionError
- 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
-
#initialize(version, msg = nil) ⇒ UnknownVersionError
constructor
A new instance of UnknownVersionError.
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 |