Exception: Omnibus::UnknownPlatformVersion
- Defined in:
- lib/omnibus/exceptions.rb
Overview
Raised when Omnibus encounters a platform_version it does not know how to build/check/handle.
Instance Method Summary collapse
-
#initialize(platform, version) ⇒ UnknownPlatformVersion
constructor
A new instance of UnknownPlatformVersion.
- #to_s ⇒ Object
Constructor Details
#initialize(platform, version) ⇒ UnknownPlatformVersion
Returns a new instance of UnknownPlatformVersion.
197 198 199 |
# File 'lib/omnibus/exceptions.rb', line 197 def initialize(platform, version) @platform, @version = platform, version end |
Instance Method Details
#to_s ⇒ Object
201 202 203 204 205 206 |
# File 'lib/omnibus/exceptions.rb', line 201 def to_s <<~EOH Unknown platform version `#{@version}' for #{@platform}! I do not know how to proceed!" EOH end |