PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Error handling

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> PEAR
View previous topic :: View next topic  
Author Message
KeithC



Joined: 20 Jun 2008
Posts: 1

PostPosted: Fri Jun 20, 2008 12:16 pm    Post subject: Error handling Reply with quote

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
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1235

PostPosted: Fri Jun 20, 2008 12:45 pm    Post subject: Re: Error handling Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> PEAR All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement