PHP Classes

File: application/views/errors/cli/error_exception.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   CodeIgniter ion Auth Login   application/views/errors/cli/error_exception.php   Download  
File: application/views/errors/cli/error_exception.php
Role: Example script
Content type: text/plain
Description: Example script
Class: CodeIgniter ion Auth Login
Manage user records in a database with CodeIgniter
Author: By
Last change:
Date: 6 years ago
Size: 745 bytes


Class file image Download
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

An uncaught Exception was encountered

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


<?php foreach ($exception->getTrace() as $error): ?>
if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?php echo $error['file'], "\n"; ?>
Line: <?php echo $error['line'], "\n"; ?>
Function: <?php echo $error['function'], "\n\n"; ?>
endif ?>
endforeach ?>

<?php endif ?>