Whoops \ Example \ Exception
Whoops\Example\Exception thrown with message "Something broke!" Stacktrace: #2 Whoops\Example\Exception in /Users/you/Development/whoops/examples/example.php:59 #1 Whoops\Example\fooBar in /Users/you/Development/whoops/examples/example.php:64 #0 Whoops\Example\bar in /Users/you/Development/whoops/examples/example.php:67

Something broke!

Stack frames (3):
2 Whoops\Example\Exception
…/­you/­Development/­whoops/­examples/­example.php59
1 Whoops\Example\fooBar
…/­you/­Development/­whoops/­examples/­example.php64
0 Whoops\Example\bar
…/­you/­Development/­whoops/­examples/­example.php67
/Users/you/Development/whoops/examples/example.php
        return $frame;
    });

});

$run->register();

function fooBar()
{
    throw new Exception("Something broke!");
}

function bar()
{
    fooBar();
}

bar();
 
/Users/you/Development/whoops/examples/example.php
$run->register();

function fooBar()
{
    throw new Exception("Something broke!");
}

function bar()
{
    fooBar();
}

bar();
 
cpt-obvious This frame is within function 'Whoops\Example\fooBar'
/Users/you/Development/whoops/examples/example.php
{
    throw new Exception("Something broke!");
}

function bar()
{
    fooBar();
}

bar();
 
cpt-obvious This frame is within function 'Whoops\Example\bar'

Environment & details:

Key Value
Chocolate yes
Coffee & chocolate a lot
Strawberry & chocolate it's alright
Vanilla ew
empty
empty
empty
Key Value
survey_uid ImI5ZjBhYTNlMTk2YWNiMmIzMmQ2NTNjZTEyYjBkM2UxODdiNmM3MzM5YjFhNjU2NmIwY2JiMDRhZTRiMDZlYTMi--2f6776afed819215f6d1eb80eefb555206a7df59
olfsk olfsk9158351956866682
hblid mcZgfOBvA63co8Ip3v8JG8CeEOOEI0Qb
empty
Key Value
DOCUMENT_ROOT /Users/you/Development/whoops
REMOTE_ADDR ::1
REMOTE_PORT 56703
SERVER_SOFTWARE PHP 5.5.27 Development Server
SERVER_PROTOCOL HTTP/1.1
SERVER_NAME localhost
SERVER_PORT 9000
REQUEST_URI /examples/example.php
REQUEST_METHOD GET
SCRIPT_NAME /examples/example.php
SCRIPT_FILENAME /Users/you/Development/whoops/examples/example.php
PHP_SELF /examples/example.php
HTTP_HOST localhost:9000
HTTP_CONNECTION keep-alive
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
HTTP_ACCEPT_ENCODING gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE en,en-US;q=0.8,pt;q=0.6
REQUEST_TIME_FLOAT 1448201001.7801
REQUEST_TIME 1448201001
argv Array ( )
argc 0
Key Value
TMPDIR /var/folders/y1/1qwn1nd57z9d4qkj8fjx3mcc0000gn/T/
SHELL /bin/zsh
HOME /Users/you
LOGNAME you
USER you
PWD /Users/you/Development/whoops
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler