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.
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
#status ⇒ Object (readonly)
Returns the value of attribute status.
23 24 25 |
# File 'lib/docker/template/error.rb', line 23 def status @status end |