Exception: Baha::Builder::BuildError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Baha::Builder::BuildError
- Defined in:
- lib/baha/builder.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, image) ⇒ BuildError
constructor
A new instance of BuildError.
Constructor Details
#initialize(status, image) ⇒ BuildError
Returns a new instance of BuildError.
14 15 16 17 18 |
# File 'lib/baha/builder.rb', line 14 def initialize(status,image) super("Unable to build image : #{image.name} -- Status: #{status.inspect}") @image = image @status = status end |
Instance Attribute Details
#image ⇒ Object (readonly)
Returns the value of attribute image.
13 14 15 |
# File 'lib/baha/builder.rb', line 13 def image @image end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
13 14 15 |
# File 'lib/baha/builder.rb', line 13 def status @status end |