Class: Docker::Template::Error::BadExitStatus
- Inherits:
-
StandardError
- Object
- Docker::Template::Error::BadExitStatus
- Defined in:
- lib/docker/template/error.rb
Overview
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ BadExitStatus
constructor
A new instance of BadExitStatus.
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
#status ⇒ Object (readonly)
Returns the value of attribute status.
27 28 29 |
# File 'lib/docker/template/error.rb', line 27 def status @status end |