Posted Jun 30, 2011 13:33 UTC (Thu) by stevem (subscriber, #1512)
Parent article: -EWHICHERROR?
*grin*
I have "fond" memories of EINVAL being over-used in the first software I worked on professionally. If you think about it, just about any problem can come down to "you did something wrong" as an error message.
It scarred me so much that I ended up registering einval.com as my personal domain... :-)
Posted Jun 30, 2011 15:40 UTC (Thu) by rfunk (subscriber, #4054)
[Link]
Yep, it's not just at the kernel level. I was recently working with one of Paypal's APIs. Potentially dozens of parameters to pass, and if one is wrong or missing, always the same error message.
Though come to think of it, EINVAL may actually be more informative and truthful than the error Paypal returns.
-EWHICHERROR?
Posted Jun 30, 2011 18:35 UTC (Thu) by jonabbey (subscriber, #2736)
[Link]
Seeing '3.1' mentioned as the next kernel version in this article caused me to throw a momentary mental EINVAL.
-EWHICHERROR?
Posted Jun 30, 2011 21:15 UTC (Thu) by nix (subscriber, #2304)
[Link]
I understand that Linux for Workgroups is coming next year. Linux 95 can't be far behind (and will be universally reviled).
-EWHICHERROR?
Posted Jun 30, 2011 22:24 UTC (Thu) by njs (guest, #40338)
[Link]