Class Exception
Class Exception contains the page shown on Exceptions (throw new Exception($e)). It is called by default on such cases.
- Core\ParentController
-
Core\Exceptions\Exception
Namespace: Core\Exceptions
Package: Core
Hooks:
Located at app/Exceptions/Exception.php
Package: Core
Hooks:
('show_prod_exception', ['e' => $e]) // Called when an exception is thrown on the PROD environment \Core\Exception::showException ('show_dev_exception', ['e' => $e]) // Called when an exception is thrown on the DEV environment \Core\Exception::showException
Located at app/Exceptions/Exception.php
public static
|
|
public
|
#
showException(
Outputs a 500 header. In dev mode and in localhost shows the catched exception with debug information, otherwise a 500 page is shown. |
__construct(),
add(),
addFooter(),
addHeader(),
addJSVar(),
addScript(),
addStyle(),
asset(),
cache(),
compressWithMinify(),
get(),
getGet(),
getModel(),
getPost(),
header(),
json(),
minimize(),
minimizeURL(),
path(),
redirect(),
setFavicon(),
setTitle(),
show(),
url()
|
$ajax,
$config,
$hooks,
$model,
$path,
$templatePath,
$vars,
$viewPath
|