fuel/core — Issue #700: Routing HttpServerErrorException
Author: thomasedwards
Created: 2011-11-30 10:28:43+00:00
State: open

I’m not sure ```HttpServerErrorException``` doesn’t behave the same way ```HttpNotFoundException``` does.

Here’s my ```routes.php```
```
return array(
'_root_' => 'public/index',
'_404_' => 'public/404',
'_500_' => 'public/500',
);
```
Here’s that part of Controller_Public
```
public function action_404()
{
$data['msg'] = 'Page not found';
$this->template->section = View::forge('global/error', $data);;
}

public function action_500()
{
$data['msg'] = 'Server error';
$this->template->section = View::forge('global/error', $data);
}
```

Fuel always returns its default error page, when calling ```HttpServerErrorException```.