Exception: PhusionPassenger::InitializationError
- Inherits:
-
StandardError
- Object
- StandardError
- PhusionPassenger::InitializationError
- 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
Instance Attribute Summary (collapse)
-
- (Object) child_exception
The exception that caused initialization to fail.
Instance Method Summary (collapse)
-
- (InitializationError) initialize(message, child_exception = nil)
constructor
Create a new InitializationError.
Constructor Details
- (InitializationError) initialize(message, child_exception = nil)
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(, child_exception = nil) super() @child_exception = child_exception end |
Instance Attribute Details
- (Object) child_exception
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 |