Exception: DockerMachine::CLIError

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

Instance Method Summary collapse

Constructor Details

#initialize(dm, code) ⇒ CLIError



6
7
8
9
10
11
# File 'lib/docker_machine.rb', line 6

def initialize dm, code
  super "Something went wrong with docker-machine. " \
    "Exited with code '#{code}'.\n" \
    "The STDOUT from the command was: [#{dm.out}].\n" \
    "The STDERR from the command was: [#{dm.err}]"
end