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.
41 42 43 44 45 |
# File 'lib/async/container/error.rb', line 41 def initialize(container) super("Could not create container!") @container = container end |
Instance Attribute Details
#container ⇒ Object (readonly)
The container that failed.
48 49 50 |
# File 'lib/async/container/error.rb', line 48 def container @container end |