Exception: CIDE::Docker::Error
- Inherits:
-
StandardError
- Object
- StandardError
- CIDE::Docker::Error
- Defined in:
- lib/cide/docker.rb
Overview
Raised when a docker command exits with a status higher than zero
Instance Attribute Summary collapse
-
#exitstatus ⇒ Object
readonly
Returns the value of attribute exitstatus.
Instance Method Summary collapse
-
#initialize(exitstatus) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(exitstatus) ⇒ Error
Returns a new instance of Error.
14 15 16 17 |
# File 'lib/cide/docker.rb', line 14 def initialize(exitstatus) @exitstatus = exitstatus super("Failed with exitstatus #{exitstatus}") end |
Instance Attribute Details
#exitstatus ⇒ Object (readonly)
Returns the value of attribute exitstatus.
13 14 15 |
# File 'lib/cide/docker.rb', line 13 def exitstatus @exitstatus end |