Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Error handling - how much?

by salva (Abbot)
on Jun 12, 2005 at 18:59 UTC ( #465992=note: print w/replies, xml ) Need Help??

in reply to Error handling - how much/where/how?

there is an easy response for that: handle errors when you know how, otherwise just die!

There is only one thing worse than a script that doesn't work, and it is a script that seems to work but that actually doesn't.

Replies are listed 'Best First'.
Re^2: Error handling - how much?
by monarch (Priest) on Jun 13, 2005 at 01:11 UTC
    Amen brother.

    And I hit an excellent example of that recently. I was writing a webpage in which 70 odd input elements had to be submitted. Mozilla was GETting the result with no problems, but when I switched to Internet Explorer I had a problem. If I typed no text in my form I could submit it. But if I typed text in my form, IE would sit there blankly while I pressed my submit button.

    So die.. die ungracefully, or error someone.. let the world know that something unexpected happened!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://465992]
shmem relocates to the pub over the street. Have a nice time.
[LanX]: well .. not so much interested in reading this article
[LanX]: my 2 cents: AngloZionistic sounds like an antisemtic theory, but to be critical of zionism doesn't mean to be anti-semitic
[shmem]: it hasn't been coined as a *mustread* without authority from the promoter
erix shoots an anti-bubble missile towards LanX
[LanX]: I don't have the time to go into depth of this blog though
[LanX]: anti-bubble missile?
[shmem]: LanX, it's not a matter of time, and you know that.
[shmem]: be precise.
[erix]: nevermind, I'm just a bit drunk :)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-03-19 21:37 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.