 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
KeithC
Joined: 20 Jun 2008 Posts: 1
|
Posted: Fri Jun 20, 2008 12:16 pm Post subject: Error handling |
|
|
Hi all
I am currently writing an app and I have so far used the PEAR MDB2, Auth and File_Archive packages.
I now wish to use PEAR to cover error handling but am unsure what is the best way to achieve this.
PEAR_Error seems straight forward-ish but I see from the documentation that it is depreciated.
I have had a look over the documentation for PEAR_ErrorStack but I don't fully understand the examples used.
Does anybody have any helpful information or links to more helpful tutorial or working example than the one in the documentation?
Thanks for the help and sorry about the vague post!
Keith |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1013
|
Posted: Fri Jun 20, 2008 12:45 pm Post subject: Re: Error handling |
|
|
| KeithC wrote: | | PEAR_Error seems straight forward-ish but I see from the documentation that it is depreciated. |
This is only related to PHP 5 packages that are required to use PEAR_Exception. If you use PHP 4 packages (as your list indicates it), using PEAR_Error is fine. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|