translate('A 404 error occurred') ?>
message ?>
reason) && $this->reason): ?>
reason) {
case 'error-controller-cannot-dispatch':
$reasonMessage = $this->translate('The requested controller was unable to dispatch the request.');
break;
case 'error-controller-not-found':
$reasonMessage = $this->translate('The requested controller could not be mapped to an existing controller class.');
break;
case 'error-controller-invalid':
$reasonMessage = $this->translate('The requested controller was not dispatchable.');
break;
case 'error-router-no-match':
$reasonMessage = $this->translate('The requested URL could not be matched by routing.');
break;
default:
$reasonMessage = $this->translate('We cannot determine at this time why a 404 was generated.');
break;
}
?>
controller) && $this->controller): ?>
- translate('Controller') ?>:
- escapeHtml($this->controller) ?>
controller_class)
&& $this->controller_class
&& $this->controller_class != $this->controller
) {
echo '(' . sprintf($this->translate('resolves to %s'), $this->escapeHtml($this->controller_class)) . ')';
}
?>
exception) && $this->exception): ?>
translate('Exception') ?>:
escapeHtml($this->exception->getMessage()) ?>
translate('Stack trace') ?>:
exception->getTraceAsString() ?>