Exception: DockerMachine::CLIError
- Inherits:
-
StandardError
- Object
- StandardError
- DockerMachine::CLIError
- Defined in:
- lib/docker_machine.rb
Instance Method Summary collapse
-
#initialize(dm, code) ⇒ CLIError
constructor
A new instance of CLIError.
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 |