Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
July 07, 2017 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- Actually, I think NotComparable is the best pick. -- |
July 08, 2017 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 Jonathan M Davis <issues.dlang@jmdavisProg.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |issues.dlang@jmdavisProg.co | |m --- Comment #3 from Jonathan M Davis <issues.dlang@jmdavisProg.com> --- I'm very tempted to close this as "won't fix." Here's a semi-recent discussion on this issue: http://forum.dlang.org/post/dslphmvguipxocdljjsl@forum.dlang.org and this is probably my best post in there about why general exception types like this are a bad idea: http://forum.dlang.org/post/mailman.1239.1490287548.31550.digitalmars-d@puremagic.com Andrei did not weigh in on the topic, but Walter was in clear agreement with me that this sort of approach is a bad idea. -- |
July 08, 2017 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 --- Comment #4 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- I think the only good idea from bearophile's list is OverflowException, as conversion data often comes from user input, and it may be useful to distinguish values that are syntactically correct but simply too large to be represented in the program's chosen data type, from values that are syntactically incorrect. -- |
July 08, 2017 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 greenify <greeenify@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greeenify@gmail.com --- Comment #5 from greenify <greeenify@gmail.com> --- FYI there will be HttpStatusException soon: https://github.com/dlang/phobos/pull/5551 -- |
July 09, 2017 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 --- Comment #6 from Jonathan M Davis <issues.dlang@jmdavisProg.com> --- (In reply to greenify from comment #5) > FYI there will be HttpStatusException soon: https://github.com/dlang/phobos/pull/5551 Yeah, but it's not generic. It's derived from std.net.curl.CurlException and really only makes sense for std.net.curl. It's not something that another library like vibe.d would use. -- |
September 26, 2018 [Issue 6410] Few common exceptions in std.exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6410 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |pro.mathias.lang@gmail.com Resolution|--- |WONTFIX --- Comment #7 from Mathias LANG <pro.mathias.lang@gmail.com> --- Given the discussion, the nature of the report (enhancement) and the lack of activity, I think it's time to close this one as WONTFIX. -- |
Copyright © 1999-2021 by the D Language Foundation