class Hoosegow::ImageBuildError

Errors while building the Docker image.

Attributes

detail[R]

The error details from docker.

Example:

{"code" => 127, "message" => "The command [/bin/sh -c boom] returned a non-zero code: 127"}

Public Class Methods

new(message) click to toggle source
Calls superclass method
# File lib/hoosegow/exceptions.rb, line 7
def initialize(message)
  if message.is_a?(Hash)
    @detail = message['errorDetail']
    message = message['error']
  end
  super(message)
end