Class PhusionPassenger::AppInitError
In: lib/phusion_passenger/exceptions.rb
Parent: InitializationError

Raised when Rack::ApplicationSpawner, Railz::ApplicationSpawner, Railz::FrameworkSpawner or SpawnManager was unable to spawn an application, because the application either threw an exception or called exit.

If the application called exit, then child_exception is an instance of SystemExit.

Methods

new  

Attributes

app_type  [RW]  The application type, e.g. "rails" or "rack".
stderr  [RW]  Any messages printed to stderr before the failure. May be nil.

Public Class methods

[Source]

    # File lib/phusion_passenger/exceptions.rb, line 61
61:         def initialize(message, child_exception = nil, app_type = "rails", stderr = nil)
62:                 super(message, child_exception)
63:                 @app_type = app_type
64:                 @stderr = stderr
65:         end

[Validate]