phpffcms/ffcms-core

View on GitHub
src/Exception/NotFoundException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Ffcms\Core\Exception;

class NotFoundException extends TemplateException
{
    public function display()
    {
        $this->status = 404;
        $this->title = '404 Not Found';
        $this->text = 'Unable to find this URL: %e%';
        $this->tpl = 'notfound';

        return parent::display();
    }
}