Exception: Yoker::UnsupportedContainerError

Inherits:
InvalidConfigurationError show all
Defined in:
lib/yoker/errors.rb

Overview

Raised when unsupported container option is specified

Instance Method Summary collapse

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