Exception: Async::Container::SetupError

Inherits:
Error
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(container) ⇒ SetupError

Returns a new instance of SetupError.



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

#containerObject (readonly)

The container that failed.



56
57
58
# File 'lib/async/container/error.rb', line 56

def container
  @container
end