Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Error handling - how much?

by monarch (Priest)
on Jun 13, 2005 at 01:11 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found