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.



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

#containerObject (readonly)

The container that failed.



48
49
50
# File 'lib/async/container/error.rb', line 48

def container
  @container
end