Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

Error Handling

$
0
0
Hi to all developers...
In CI documentation, I've read what I must do for error handling when finishing app development. And also I've design a custom 404 error page for a better and user friendly view.

My question is: In final product, the users should not see PHP or Databases errors... but what about general errors? How could I handle those and create a better custom page for them?

suppose some users enter some disallowed characters in address bar, or a form CSRF time finished or something like these, then the users a bad error page with some messages like these:

An Error Was Encountered
The URI you submitted has disallowed characters.

thanks a lot.

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>