Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Error handling - how much?

by monarch (Priest)
on Jun 13, 2005 at 01:11 UTC ( #466020=note: print w/ replies, xml ) Need Help??


in reply to Re: Error handling - how much?
in thread Error handling - how much/where/how?

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.

Searched through the internet: discovered that I was constructing a URL in IE that was too long. So changed the method to "POST" and could resume programming, a day later.

It would have been far better if IE said "Can't submit, attempting to go to a URL that is too long" than just sit there! I didn't know what was happening, whether I found an undetected bug in IE or my javascript was wrong etc etc.

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


Comment on Re^2: Error handling - how much?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://466020]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-11-28 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (191 votes), past polls