Exception: PhusionPassenger::FrameworkInitError
- Inherits:
-
InitializationError
- Object
- StandardError
- InitializationError
- PhusionPassenger::FrameworkInitError
- Defined in:
- lib/phusion_passenger/exceptions.rb
Overview
Raised when ClassicRails::FrameworkSpawner or ClassicRails::SpawnManager was unable to load a version of the Ruby on Rails framework. The child_exception
attribute is guaranteed non-nil.
Instance Attribute Summary collapse
-
#vendor ⇒ Object
readonly
Returns the value of attribute vendor.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from InitializationError
Instance Method Summary collapse
-
#initialize(message, child_exception, options) ⇒ FrameworkInitError
constructor
A new instance of FrameworkInitError.
Constructor Details
#initialize(message, child_exception, options) ⇒ FrameworkInitError
Returns a new instance of FrameworkInitError.
80 81 82 83 84 85 86 87 |
# File 'lib/phusion_passenger/exceptions.rb', line 80 def initialize(, child_exception, ) super(, child_exception) if [:vendor] @vendor = [:vendor] else @version = [:version] end end |
Instance Attribute Details
#vendor ⇒ Object (readonly)
Returns the value of attribute vendor.
77 78 79 |
# File 'lib/phusion_passenger/exceptions.rb', line 77 def vendor @vendor end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
78 79 80 |
# File 'lib/phusion_passenger/exceptions.rb', line 78 def version @version end |