Thrown when SpawnManager or ApplicationPool fails to spawn an application instance. More...
#include <Exceptions.h>
Public Member Functions | |
bool | hasErrorPage () const |
Check whether an error page is available. | |
const string | getErrorPage () const |
Return the error page content. | |
bool | isHTML () const |
Whether the error page content is HTML. |
Thrown when SpawnManager or ApplicationPool fails to spawn an application instance.
The exception may contain an error page, which is a user-friendly HTML page with details about the error.
const string Passenger::SpawnException::getErrorPage | ( | ) | const [inline] |
Return the error page content.
bool Passenger::SpawnException::isHTML | ( | ) | const [inline] |
Whether the error page content is HTML.