class DockerMachine::CLIError

Public Class Methods

new(dm, code) click to toggle source
Calls superclass method
# 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