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.



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

#containerObject (readonly)

The container that failed.



39
40
41
# File 'lib/async/container/error.rb', line 39

def container
  @container
end