Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: CGI Error Handling

by uwevoelker (Pilgrim)
on Dec 10, 2001 at 13:07 UTC ( [id://130659]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: CGI Error Handling
in thread CGI Error Handling

I mean application level error. How does your own exception handling routine look like?
I usually write a database-abstraction-layer (and plan to write a general modul for this purpose). I'm not sure how I should handle errors that occur in this layer. Should the script specify an error template and the database-layers shows this page if an error occurs? Or should the database-layer only return a false value and stores the errortext/-code in a datastructure? The script then can retrieve this errortext and prints the errortemplate.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://130659]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.