Class: Docker::Template::Error::BadExitStatus

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker/template/error.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ BadExitStatus

Returns a new instance of BadExitStatus.



25
26
27
28
29
# File 'lib/docker/template/error.rb', line 25

def initialize(status)
  super "Got bad exit status #{
    @status = status
  }"
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



23
24
25
# File 'lib/docker/template/error.rb', line 23

def status
  @status
end