colour lib needs reviewers

Guillaume Piolat via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 12 13:05:58 PDT 2016


On Monday, 12 September 2016 at 19:59:58 UTC, Edwin van Leeuwen 
wrote:
> On Monday, 12 September 2016 at 19:55:57 UTC, Guillaume Piolat 
> wrote:
>> - I've wanted a function like colorFromString many times. It's 
>> especially nice with the added #RGBA and #RRGGBBAA syntax that 
>> eg. SVG lacks.
>
> What happens when the string is invalid? Does it throw an error?

It throws an Exception, like it should.


More information about the Digitalmars-d mailing list