codeguy/Slim — Issue #196: Can I use error templates ?
Author: cept0
Created: 2011-12-23 10:58:32+00:00
State: open

Is it possible to detect any error-messages (403,404) before SLIM posts his default 404-message?

`
$app->get('*', function (iserror) use ($app) {
$app->render('index.tpl', array('mainTitle' => $app->error->title));
});
`

?