system/classes/Route.php
protected function error($type)
    {
        $filepath = $this->config['basedir'].'cora/app/Error.php';

        if (file_exists($filepath)) {
            $error = new \Cora\App\Error($this->container);
        }
        else {
            $error = new \Cora\Error($this->container);
        }
        $error->handle($type);
    }
protected function error($type)
    {
        $filepath = $this->config['basedir'].'cora/app/Error.php';

        if (file_exists($filepath)) {
            $error = new \Cora\App\Error($this->container);
        }
        else {
            $error = new \Cora\Error($this->container);
        }
        $error->handle($type);
    }
Sample Types:
401 = Access Denied
404 = Not Found