www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - A question about std.uri

reply "Danny Arends" <Danny.Arends gmail.com> writes:
Is there a reason why the decode/encode functions and such throw 
Errors ?

Seems like an error (Non-recoverable) is a bit harsh, why isn't 
the Exception class used ?

Kind regards,

Danny Arends
http://www.dannyarends.nl
Oct 24 2013
parent reply "Danny Arends" <Danny.Arends gmail.com> writes:
On Thursday, 24 October 2013 at 08:35:15 UTC, Danny Arends wrote:
 Is there a reason why the decode/encode functions and such 
 throw Errors ?

 Seems like an error (Non-recoverable) is a bit harsh, why isn't 
 the Exception class used ?

 Kind regards,

 Danny Arends
 http://www.dannyarends.nl
Some people on the IRC channel said it might be a bug: http://d.puremagic.com/issues/show_bug.cgi?id=11338 Gr, Danny Arends
Oct 24 2013
parent "Danny Arends" <Danny.Arends gmail.com> writes:
On Thursday, 24 October 2013 at 09:46:52 UTC, Danny Arends wrote:
 Some people on the IRC channel said it might be a bug:

 http://d.puremagic.com/issues/show_bug.cgi?id=11338

 Gr,
 Danny Arends
And a pull request: https://github.com/D-Programming-Language/phobos/pull/1659 Gr, Danny Arends http://www.dannyarends.nl
Oct 24 2013