• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Error function - Extend Exceptions or add to Common? Confused

#1
[eluser]the real rlee[/eluser]
Hi guys, I would like to add a new error function which i can call anywhere in my CI app much like show_error(). I've read some posts about extending the Exceptions library, but it seems show_error() is a wrapper for the Exceptions show_error() function so I'm assuming the only way to create a custom error function which i can call just like show_error() is to ad it directly the Common.php file (?)


Messages In This Thread
Custom Error function - Extend Exceptions or add to Common? Confused - by El Forum - 07-31-2007, 05:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.