Exception: PhusionPassenger::InitializationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/phusion_passenger/exceptions.rb

Overview

An abstract base class for AppInitError and FrameworkInitError. This represents the failure when initializing something.

Direct Known Subclasses

AppInitError, FrameworkInitError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, child_exception = nil) ⇒ InitializationError

Create a new InitializationError. message is the error message, and child_exception is the exception that caused initialization to fail.



48
49
50
51
# File 'lib/phusion_passenger/exceptions.rb', line 48

def initialize(message, child_exception = nil)
	super(message)
	@child_exception = child_exception
end

Instance Attribute Details

#child_exceptionObject

The exception that caused initialization to fail. This may be nil.



43
44
45
# File 'lib/phusion_passenger/exceptions.rb', line 43

def child_exception
  @child_exception
end