Exception: LocalDevelopmentGateway::DockerError

Inherits:
Error
  • Object
show all
Defined in:
lib/local_development_gateway.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(command, output) ⇒ DockerError

Returns a new instance of DockerError.



24
25
26
27
28
# File 'lib/local_development_gateway.rb', line 24

def initialize(command, output)
  @command = command
  @output = output
  super("Docker command failed: #{command.join(" ")}\n#{output}")
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



22
23
24
# File 'lib/local_development_gateway.rb', line 22

def command
  @command
end

#outputObject (readonly)

Returns the value of attribute output.



22
23
24
# File 'lib/local_development_gateway.rb', line 22

def output
  @output
end