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.



29
30
31
32
33
# File 'lib/docker/template/error.rb', line 29

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

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end