CodeIgniter Forums

Full Version: Error message in case of 500
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have made some apis, the issue I am facing is that sometimes due to negligence some "semi-columns" are missed and api returns 500 at that time.
Can we return some general error messge in this case instead of api crashing.
You mean like ... "Internal server error"? Smile
(10-31-2017, 04:08 AM)subham2595 Wrote: [ -> ]Hi,

I have made some apis, the issue I am facing is that sometimes due to negligence some "semi-columns" are missed and api returns 500 at that time.
Can we return some general error messge in this case instead of api crashing.

error message like internal server error ?