Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://466020]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-06-19 21:17 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (115 votes). Check out past polls.