Welcome Guest, Not a member yet? Register   Sign In
How to print the custom error message on DB errors?
#1

[eluser]Unknown[/eluser]
Hi,

I'm using CI 1.7.3 and developing a program which only respond to the client as XML. Users access this service through their client program on the mobile device.

CI prints a pretty formed HTML error message to the client on DB connection or query errors. However, it is useless to me and I want to print a custom XML(represent an error) message without CI default error message.

Is there a way to do this like an error callback handler?

Thank you.

-Brian


Messages In This Thread
How to print the custom error message on DB errors? - by El Forum - 02-06-2011, 11:07 PM
How to print the custom error message on DB errors? - by El Forum - 02-07-2011, 02:32 AM
How to print the custom error message on DB errors? - by El Forum - 02-07-2011, 03:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB