Exception: Yoker::UnsupportedContainerError
- Inherits:
-
InvalidConfigurationError
- Object
- StandardError
- Error
- InvalidConfigurationError
- Yoker::UnsupportedContainerError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when unsupported container option is specified
Instance Method Summary collapse
-
#initialize(container) ⇒ UnsupportedContainerError
constructor
A new instance of UnsupportedContainerError.
Constructor Details
#initialize(container) ⇒ UnsupportedContainerError
Returns a new instance of UnsupportedContainerError.
71 72 73 74 |
# File 'lib/yoker/errors.rb', line 71 def initialize(container) supported = %w[docker-compose docker none] super("Container option '#{container}' is not supported. Supported: #{supported.join(", ")}") end |