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