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
Returns the value of attribute container.
- #The container that failed.(containerthatfailed.) ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(container) ⇒ SetupError
constructor
Create a new setup error.
Constructor Details
#initialize(container) ⇒ SetupError
Create a new setup error.
49 50 51 52 53 |
# File 'lib/async/container/error.rb', line 49 def initialize(container) super("Could not create container!") @container = container end |
Instance Attribute Details
#container ⇒ Object (readonly)
Returns the value of attribute container.
56 57 58 |
# File 'lib/async/container/error.rb', line 56 def container @container end |
#The container that failed.(containerthatfailed.) ⇒ Object (readonly)
56 |
# File 'lib/async/container/error.rb', line 56 attr :container |