PHP Classes

File: aksara/Views/errors/cli/error_exception.php

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Views/errors/cli/error_exception.php   Download  
File: aksara/Views/errors/cli/error_exception.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Initial commit for update 5.0.0
Date: 4 months ago
Size: 595 bytes
 

Contents

Class file image Download
An uncaught Exception was encountered

Type: <?= get_class($exception), "\n"; ?>
Message: <?= $message, "\n"; ?>
Filename: <?= $exception->getFile(), "\n"; ?>
Line Number: <?= $exception->getLine(); ?>

<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>

    Backtrace:
    <?php foreach ($exception->getTrace() as $error): ?>
<?php if (isset($error['file'])): ?>
<?= trim('-' . $error['line'] . ' - ' . $error['file'] . '::' . $error['function']) . "\n" ?>
<?php endif ?>
<?php endforeach ?>

<?php endif ?>