The preferred way to error out is something along the lines of this. The downside of calling `die()` is that there might be post processing code which needs to be executed by the framework. So simply calling `return` lets that happen.

```php
  $this->route->run('/error/404');
  return;
```