Exception: Async::Container::SetupError
- Defined in:
- lib/async/container/error.rb
Overview
Represents the error which occured when a container failed to start up correctly.
Instance Attribute Summary collapse
-
#container ⇒ Object
readonly
The container that failed.
Instance Method Summary collapse
-
#initialize(container) ⇒ SetupError
constructor
A new instance of SetupError.
Constructor Details
#initialize(container) ⇒ SetupError
Returns a new instance of SetupError.
32 33 34 35 36 |
# File 'lib/async/container/error.rb', line 32 def initialize(container) super("Could not create container!") @container = container end |
Instance Attribute Details
#container ⇒ Object (readonly)
The container that failed.
39 40 41 |
# File 'lib/async/container/error.rb', line 39 def container @container end |