From 4b838af40d77684539dd40461bd92e6e453fe675 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 28 Oct 2014 23:46:45 +0200 Subject: Add a real exception handler Close #1590 Close #3200 --- application/views/errors/cli/error_exception.php | 61 ++++++++++++++++++++ application/views/errors/html/error_exception.php | 68 +++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100755 application/views/errors/cli/error_exception.php create mode 100755 application/views/errors/html/error_exception.php (limited to 'application/views/errors') diff --git a/application/views/errors/cli/error_exception.php b/application/views/errors/cli/error_exception.php new file mode 100755 index 000000000..3314fa1c4 --- /dev/null +++ b/application/views/errors/cli/error_exception.php @@ -0,0 +1,61 @@ + + +An uncaught Exception was encountered + +Type: +Message: +Filename: getFile(); ?> +Line Number: getLine(); ?> + + + +Backtrace: + getTrace() as $error): ?> + + + File: + Line: + Function: + + + + + \ No newline at end of file diff --git a/application/views/errors/html/error_exception.php b/application/views/errors/html/error_exception.php new file mode 100755 index 000000000..2f3fe4079 --- /dev/null +++ b/application/views/errors/html/error_exception.php @@ -0,0 +1,68 @@ + + +
+ +

An uncaught Exception was encountered

+ +

Type:

+

Message:

+

Filename: getFile(); ?>

+

Line Number: getLine(); ?>

+ + + +

Backtrace:

+ getTrace() as $error): ?> + + + +

+ File:
+ Line:
+ Function: +

+ + + + + + +
\ No newline at end of file -- cgit v1.2.3-24-g4f1b